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 Name | Type | Description | Available Version |
|---|---|---|---|
author | ConnectApi.SocialAccount | Social account that authored the social post. | 36.0 |
content | String | Content body of the social post. | 36.0 |
deletedBy | ConnectApi.UserSummary | User who deleted the social post. | 38.0 |
hiddenBy | ConnectApi.UserSummary | User who hid the social post. | 41.0 |
icon | ConnectApi.Icon | Icon of the social network. | 36.0 |
id | String | ID associated with the social post Salesforce record. | 36.0 |
isOutbound | Boolean | If true, the social post originated from the Salesforce application. | 36.0 |
likedBy | String | External social account who liked the social post. | 40.0 |
messageType | ConnectApi.SocialPostMessageType | Message type of the social post. Values are:
| 38.0 |
name | String | Title or heading of the social post. | 36.0 |
postUrl | String | External URL to the social post on the social network. | 36.0 |
provider | ConnectApi.SocialNetworkProvider | Social network that this social post belongs to. Values are:
| 36.0 |
recipient | ConnectApi.SocialAccount | Social account that is the recipient of the social post. | 36.0 |
recipientId | String | ID of the recipient of the social post. | 38.0 |
reviewScale | Double | Review scale of the social post. | 40.0 |
reviewScore | Double | Review score of the social post. | 40.0 |
status | ConnectApi.SocialPostStatus | Status of the social post. | 36.0 |
See Also