---
schema_version: "1"
id: 3f310a52aae0acba679d7b74f3d0b4e3eb8856a4d50f23bc723003dc6cbcd154
title: GetPublishedSocialContent
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/ampscript/references/social/mc-ampscript-reference-social-get-published-social-content.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-social/mc-ampscript-reference-social-get-published-social-content.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: de257d3309f5b2704b60601127b3306d7aea61bdea0b79a5171ebff6d0db0a9a
products:
  - AMPscript for Marketing Cloud
  - Marketing Cloud
---
# GetPublishedSocialContent

Returns content to share on a social network as specified by the region ID. For use only in landing pages or the Social Forward feature.

## Availability

<table>
  <tr>
    <td>Marketing Cloud Engagement</td>
    <td>✅ Yes</td>
  </tr>
  <tr>
    <td>Marketing Cloud Next</td>
    <td>❌ No</td>
  </tr>
</table>

## Syntax

```
GetPublishedSocialContent(regionId)
```

The `GetPublishedSocialContent()` function has one parameter:

- `regionId` (string): Required. The region ID for the social content area.

## Usage

This example returns the content contained in SocialRegion.

```
%%[
  GetPublishedSocialContent('SocialRegion')
]%%
```
