ConnectApi.SocialPostCapability

If a feed element has this capability, it can interact with a social post on a social network.

Subclass of ConnectApi.FeedElementCapabilities.

Property NameTypeDescriptionAvailable Version
authorConnectApi.SocialAccountSocial account that authored the social post.36.0
contentStringContent body of the social post.36.0
deletedByConnectApi.UserSummaryUser who deleted the social post.38.0
hiddenByConnectApi.UserSummaryUser who hid the social post.41.0
iconConnectApi.IconIcon of the social network.36.0
idStringID associated with the social post Salesforce record.36.0
isOutboundBooleanIf true, the social post originated from the Salesforce application.36.0
likedByStringExternal social account who liked the social post.40.0
messageTypeConnectApi.​SocialPost​MessageTypeMessage type of the social post. Values are:
  • Comment
  • Direct
  • Post
  • PrivateMessage
  • Reply
  • Retweet
  • Tweet
38.0
nameStringTitle or heading of the social post.36.0
postUrlStringExternal URL to the social post on the social network.36.0
providerConnectApi.​SocialNetwork​ProviderSocial network that this social post belongs to. Values are:
  • Facebook
  • GooglePlus
  • Instagram
  • InstagramBusiness
  • KakaoTalk
  • Kik
  • Line
  • LinkedIn
  • Messenger
  • Other
  • Pinterest
  • QQ
  • Rypple
  • SinaWeibo
  • SMS
  • Snapchat
  • Telegram
  • Twitter
  • VKontakte
  • WeChat
  • WhatsApp
  • YouTube
36.0
recipientConnectApi.SocialAccountSocial account that is the recipient of the social post.36.0
recipientIdStringID of the recipient of the social post.38.0
reviewScaleDoubleReview scale of the social post.40.0
reviewScoreDoubleReview score of the social post.40.0
statusConnectApi.SocialPostStatusStatus of the social post.36.0

See Also