Social
GET social media profiles
Changed onRetrieves all social media profiles connected to the account. A profile represents a single account on a social network (such as a Facebook Business Page, a LinkedIn Company Page, or an Instagram Business account) that the user has connected to Constant Contact.
Use the include=accessible query parameter to additionally check whether each profile is currently accessible for posting. Profiles that are not currently accessible will fail if used to publish a post.
get/social/profiles
Request
- Base URLhttps://api.cc.email/v3
- URLhttps://api.cc.email/v3/social/profiles
- Auth
- OAuth 2Implicit: https://authz.constantcontact.com/oauth2/default/v1/authorizeScopes: campaign_data
- or OAuth 2Authorization code: https://authz.constantcontact.com/oauth2/default/v1/authorizeToken URL: https://authz.constantcontact.com/oauth2/default/v1/token scopes: campaign_data
Query parameters
includestring[]
Optional sub-resources to include. Use accessible to check if profiles are accessible on the network.
Response
Request successful
Example response
[
{
"account_info": {
"display_name": "John Doe",
"image_url": "https://example.com/avatar.jpg",
"network": "facebook",
"username": "johndoe"
},
"connected": true,
"handle": "mybusinesspage",
"image_url": "https://example.com/profile-image.jpg",
"name": "My Business Page",
"network": "facebook",
"url": "https://www.facebook.com/mybusinesspage"
}
]Changes
- info
endpoint added
- info