Newer Version Available
SocialEngagement Class
Manage information about social accounts or fan pages for social networks.
Namespace
SocialEngagement Methods
The following are methods for SocialEngagement. All methods are static.
getManagedSocialAccount(id)
Get a managed social account that is in the org and assigned to the
user.
API Version
44.0
Requires Chatter
Yes
Signature
public static ConnectApi.ManagedSocialAccount getManagedSocialAccount(String id)
Parameters
- id
- Type: String
- Description: Internal SFDC ID for this managed social account.
Return Value
getManagedSocialAccounts()
Gets a list of managed social accounts.
API Version
44.0
Requires Chatter
Yes
Signature
public static ConnectApi.ManagedSocialAccounts getManagedSocialAccounts()
Return Value
getManagedSocialAccounts(socialNetwork)
Get a list of managed social accounts that are in the org and assigned
to the user.
API Version
44.0
Requires Chatter
Yes
Signature
public static ConnectApi.ManagedSocialAccounts getManagedSocialAccounts(ConnectApi.SocialNetworkProvider socialNetwork)
Parameters
- socialNetwork
- Type: ConnectApi.SocialNetworkProvider
- Description: Filters results based on the social
network. Values are:
- GooglePlus
- InstagramBusiness
- KakaoTalk
- Kik
- Line
- Messenger
- Other
- Rypple
- SinaWeibo
- SMS
- Snapchat
- Telegram
- VKontakte
- YouTube