Newer Version Available
SocialEngagement Class
Namespace
SocialEngagement Methods
The following are methods for SocialEngagement. All methods are static.
followSocialPersona(socialPersonaId, socialAccountId)
API Version
45.0
Requires Chatter
No
Signature
public static ConnectApi.FollowSocialPersonaIntent followSocialPersona(String socialPersonaId, String socialAccountId)
Parameters
Return Value
followSocialPostPersona(socialPostId, socialAccountId)
API Version
45.0
Requires Chatter
No
Signature
public static ConnectApi.FollowSocialPersonaIntent followSocialPostPersona(String socialPostId, String socialAccountId)
Parameters
Return Value
getIntents(socialPostId)
API Version
45.0
Requires Chatter
No
Signature
public static ConnectApi.SocialPostIntents getIntents(String socialPostId)
Parameters
- socialPostId
- Type: String
- ID of a social post.
Return Value
getManagedSocialAccount(id)
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()
API Version
44.0
Requires Chatter
Yes
Signature
public static ConnectApi.ManagedSocialAccounts getManagedSocialAccounts()
Return Value
getManagedSocialAccounts(socialNetwork)
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
Return Value
unfollowSocialPersona(socialPersonaId, socialAccountId)
API Version
45.0
Requires Chatter
No
Signature
public static Void unfollowSocialPersona(String socialPersonaId, String socialAccountId)
Parameters
Return Value
Type: Void