Newer Version Available

This content describes an older version of this product. View Latest

ConnectApi.​SocialPostCapability

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

Subclass of ConnectApi.​FeedElement​Capabilities Class.

Property Name Type Description Available Version
author ConnectApi.​SocialAccount The social account that authored the social post. 36.0
content String The content body of the social post. 36.0
deletedBy ConnectApi.​User​Summary Class The user who deleted the social post. 38.0
icon ConnectApi.Icon Class The icon of the social network. 36.0
id String The ID associated with the social post Salesforce record. 36.0
isOutbound Boolean If true, the social post originated from the Salesforce application. 36.0
messageType ConnectApi.​SocialPost​MessageType The message type of the social post. Values are:
  • Comment
  • Direct
  • Post
  • PrivateMessage
  • Reply
  • Retweet
  • Tweet
38.0
name String The title or heading of the social post. 36.0
postUrl String The external URL to the social post on the social network. 36.0
provider ConnectApi.​SocialNetwork​Provider The social network that this social post belongs to. Values are:
  • Facebook
  • GooglePlus
  • Instagram
  • Klout
  • Line
  • LinkedIn
  • Other
  • Pinterest
  • Rypple
  • SinaWeibo
  • Twitter
  • VKontakte
  • WeChat
  • WhatsApp
  • YouTube
36.0
recipient ConnectApi.​SocialAccount The social account that is the recipient of the social post. 36.0
recipientId String The ID of the recipient of the social post. 38.0
status ConnectApi.​SocialPostStatus The status of the social post. 36.0