SocialPost
Represents a snapshot of a post on a social network such as a Facebook or Twitter.
Introduced in API version 23.0.
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Introduced: API version 34.0
- Description: Score set on the social post in Social Studio.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort
- Introduced: API version 28.0
- Description: User in Social Studio that the social post is assigned to.
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Introduced: API version 31.0
- Description: Type of the first attachment on the social post. Values are:
- Possible values:
- APPLICATION — APPLICATION
- AUDIO — AUDIO
- IMAGE — IMAGE
- LINK — LINK
- TEXT — TEXT
- UNKNOWN — UNKNOWN
- VIDEO — VIDEO
- Type: url
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 31.0
- Description: URL for the first attachment on the social post.
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 28.0
- Description: Classification for the social post, such as inquiry or customer case.
- Type: int
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 28.0
- Description: Number of comments on the social post.
- Type: textarea
- Properties: Create, Nillable, Update
- Description: Body of the social post.
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Introduced: API version 31.0
-
Description:
If the social post is deleted, ID of the person who deleted the social post.
This is a relationship field.
-
Relationship name: DeletedBy
-
Relationship type: relationship
-
Refers to: User
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 28.0
- Description: Engagement level of the social post, such as reviewed or resolved.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: ID of the social post in its social network.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 26.0
- Description: Handle of the person who posted the social post.
- Type: datetime
- Properties: Create, Filter, Nillable, Sort, Update
- Introduced: API version 28.0
- Description: Date and time when Social Studio collected the social post.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Headline of the social post.
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Introduced: API version 41.0
-
Description:
If the social post is hidden, ID of the person who hid it.
This is a relationship field.
-
Relationship name: HiddenBy
-
Relationship type: relationship
-
Refers to: User
- Type: int
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 28.0
- Description: Number of links on the inbound social post.
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort
- Introduced: API version 28.0
- Description: Specifies whether the social post is outbound or not.
- Default value: false
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 28.0
- Description: Radian6 field that is no longer used.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 34.0
- Description: Language of the social post.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 33.0
- Description: ID of the managed social account in the social network that liked the social post.
- Type: int
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 28.0
- Description: Radian6 number of likes and votes on the social post.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Social network of the social post.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Type of social network of the social post.
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Description: Type of message. Values are:
- Possible values:
- Comment — Comment — Facebook comment
- Direct — Direct — Twitter direct message
- Post — Post — Facebook post
- Private — Private — Facebook private message
- Reply — Reply — Twitter or Facebook reply
- Retweet — Retweet — Twitter retweet
- Tweet — Tweet — Twitter tweet
- Type: string
- Properties: Create, Filter, Group, idLookup, Sort, Update
- Description: Name of the social post.
- Type: textarea
- Properties: Create, Nillable, Update
- Introduced: API version 42.0
- Description: Notes added by Social Hub actions for the social post.
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort
-
Introduced: API version 29.0
-
Description:
ID of the social account used for outbound social posts.
This is a relationship field.
-
Relationship name: OutboundSocialAccount
-
Relationship type: relationship
-
Refers to: ExternalSocialAccount
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description:
ID of the parent record of the social post, for example, the ID of a case.
This is a relationship field.
-
Relationship name: Parent
-
Relationship type: polymorphic
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description:
ID of the social persona who made the post.
This is a relationship field.
-
Relationship name: Persona
-
Relationship type: relationship
-
Refers to: SocialPersona
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Priority of the social post set in Social Studio.
- Type: textarea
- Properties: Create, Nillable, Update
- Introduced: API version 28.0
- Description: Comma-separated list of tags on the social post.
- Type: url
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: URL for the social post.
- Type: datetime
- Properties: Create, Defaulted on create, Filter, Sort, Update
- Description: Date and time when the social post was made.
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort
- Introduced: API version 26.0
- Description: Social network of the social post.
- Type: string
- Properties: Create, Filter, Group, idLookup, Nillable, Sort, Update
- Description: Unique ID of the post in Social Studio.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: ID of the author in Social Studio.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: ID for either the topic profile or the managed account in Social Studio.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: ID of the recipient of the social post in Social Studio.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Type of the recipient of the social post, such as a person.
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort
-
Description:
Dynamically generated from replyToExternalPostId in Social Studio.
This is a relationship field.
-
Relationship name: ReplyTo
-
Relationship type: relationship
-
Refers to: SocialPost
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 32.0
- Description: External ID, such as a conversation ID, author ID, or post ID, for the item you’re responding to.
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Introduced: API version 39.0
- Description: Review scale for the social post.
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Introduced: API version 39.0
- Description: Review score for the social post.
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 31.0
- Description: Status of the social post review.
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Description: Sentiment of the social post. Values are:
- Possible values:
- Negative — Negative
- Neutral — Neutral
- Positive — Positive
- SomewhatNegative — SomewhatNegative
- SomewhatPositive — SomewhatPositive
- Type: int
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 28.0
- Description: Number of times the social post has been shared.
- Type: textarea
- Properties: Create, Nillable, Update
- Introduced: API version 28.0
- Description: Comma-separated list of author type tags.
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Description: Spam rating of the social post. Values are:
- Possible values:
- NotSpam — NotSpam
- Spam — Spam
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Description: Status of the social post. Values are:
- Possible values:
- DELETED — DELETED
- FAILED — FAILED
- HIDDEN — HIDDEN
- PENDING — PENDING
- PENDING_APPROVAL — PENDING_APPROVAL
- RECALL_APPROVAL — RECALL_APPROVAL
- REJECTED_APPROVAL — REJECTED_APPROVAL
- REPLIED — REPLIED
- SENT — SENT
- UNKNOWN — UNKNOWN
- Type: textarea
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Status message for the social post.
- Type: int
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 28.0
- Description: Radian6 field. No longer used.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 28.0
- Description: Name of the topic profile for the social post in Social Studio.
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Description: Type of topic. Values are:
- Possible values:
- Keyword — Keyword
- Managed — Managed
- Type: string
- Properties: Filter, Group, Nillable, Sort
- Introduced: API version 38.0
- Description: Truncated content of the social post.
- Type: int
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 28.0
- Description: Number of unique people who commented on the social post.
- Type: int
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 28.0
- Description: Number of times the social post was viewed.
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description:
Polymorphic ID of a person such as a lead or a contact.
This is a polymorphic relationship field.
-
Relationship name: Who
-
Relationship type: polymorphic
The fields on a SocialPost object don’t provide real-time data. They provide a snapshot of information from the last time Salesforce collected the post from the social network. Many of the Radian6-related fields are no longer accurate or used.
This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version.
-
SocialPostChangeEvent: Introduced in API version 48.0.
-
SocialPostFeed: Introduced in API version 26.0.
-
SocialPostHistory: Introduced in API version 26.0.