Newer Version Available

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

SocialPost

Represents a snapshot of a post on a social network such as a Facebook or Twitter. This object is available in API version 23.0 and later.

Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

Fields

Field Name Details
AnalyzerScore
Type
double
Properties
Create, Filter, Nillable, Sort, Update
Description
Score set on the social post in Social Studio.
AssignedTo
Type
string
Properties
Create, Filter, Group, Nillable, Sort
Description
User in Social Studio that the social post is assigned to.
AttachmentType
Type
picklist
Properties
Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
Type of the first attachment on the social post. Values are:
  • APPLICATION
  • AUDIO
  • IMAGE
  • LINK
  • TEXT
  • UNKNOWN
  • VIDEO
AttachmentUrl
Type
url
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
URL for the first attachment on the social post.
Classification
Type
picklist
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Classification for the social post, such as inquiry or customer case.
CommentCount
Type
int
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Number of comments on the social post.
Content
Type
textarea
Properties
Create, Nillable, Update
Description
Body of the social post.
DeletedById
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
If the social post is deleted, ID of the person who deleted the social post.
EngagementLevel
Type
picklist
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Engagement level of the social post, such as reviewed or resolved.
ExternalPostId
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
ID of the social post in its social network.
Handle
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Handle of the person who posted the social post.
HarvestDate
Type
dateTime
Properties
Create, Filter, Nillable, Sort, Update
Description
Date and time when Social Studio collected the social post.
Headline
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Headline of the social post.
HiddenById
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
If the social post is hidden, ID of the person who hid it.
InboundLinkCount
Type
int
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Number of links on the inbound social post.
IsOutbound
Type
boolean
Properties
Create, Defaulted on create, Filter, Group, Sort
Description
Specifies whether the social post is outbound or not.
KeywordGroupName
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Radian6 field that is no longer used.
Language
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Language of the social post.
LastReferencedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
Date when the social post was last referenced.
LastViewedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
Date when the social post was last viewed.
LikedBy
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
ID of the managed social account in the social network that liked the social post.
LikesAndVotes
Type
int
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Radian6 number of likes and votes on the social post.
MediaProvider
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Social network of the social post.
MediaType
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Type of social network of the social post.
MessageType
Type
picklist
Properties
Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
Type of message. Values are:
  • Comment—Facebook comment
  • Direct—Twitter direct message
  • Post—Facebook post
  • Private—Facebook private message
  • Reply—Twitter or Facebook reply
  • Retweet—Twitter retweet
  • Tweet—Twitter tweet
Name
Type
string
Properties
Create, Filter, Group, idLookup, Sort, Update
Description
Name of the social post.
Notes
Type
textarea
Properties
Create, Nillable, Update
Description
Notes added by Social Hub actions for the social post.
OutboundSocialAccountId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort
Description
ID of the social account used for outbound social posts.
OwnerId
Type
reference
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
ID of the owner of the social post.
ParentId
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.
PersonaId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
ID of the social persona who made the post.
PostPriority
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Priority of the social post set in Social Studio.
PostTags
Type
textarea
Properties
Create, Nillable, Update
Description
Comma-separated list of tags on the social post.
PostUrl
Type
url
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
URL for the social post.
Posted
Type
dateTime
Properties
Create, Defaulted on create, Filter, Sort, Update
Description
Date and time when the social post was made.
Provider
Type
picklist
Properties
Create, Filter, Group, Nillable, Restricted picklist, Sort
Description
Social network of the social post.
R6PostId
Type
string
Properties
Create, Filter, Group, idLookup, Nillable, Sort, Update
Description
Unique ID of the post in Social Studio.
R6SourceId
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
ID of the author in Social Studio.
R6TopicId
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
ID for either the topic profile or the managed account in Social Studio.
Recipient
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
ID of the recipient of the social post in Social Studio.
RecipientType
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Type of the recipient of the social post, such as a person.
ReplyToId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort
Description
Dynamically generated from replyToExternalPostId in Social Studio.
ResponseContextExternalId
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
External ID, such as a conversation ID, author ID, or post ID, for the item you’re responding to.
ReviewScale
Type
double
Properties
Create, Filter, Nillable, Sort, Update
Description
Review scale for the social post.
ReviewScore
Type
double
Properties
Create, Filter, Nillable, Sort, Update
Description
Review score for the social post.
ReviewedStatus
Type
picklist
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Status of the social post review.
Sentiment
Type
picklist
Properties
Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
Sentiment of the social post. Values are:
  • Negative
  • Neutral
  • Positive
  • SomewhatNegative
  • SomewhatPositive
Shares
Type
int
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Number of times the social post has been shared.
SourceTags
Type
textarea
Properties
Create, Nillable, Update
Description
Comma-separated list of author type tags.
SpamRating
Type
picklist
Properties
Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
Spam rating of the social post. Values are:
  • NotSpam
  • Spam
Status
Type
picklist
Properties
Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
Status of the social post. Values are:
  • DELETED
  • FAILED
  • HIDDEN
  • PENDING
  • PENDING_APPROVAL
  • RECALL_APPROVAL
  • REJECTED_APPROVAL
  • REPLIED
  • SENT
  • UNKNOWN
StatusMessage
Type
textarea
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Status message for the social post.
ThreadSize
Type
int
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Radian6 field. No longer used.
TopicProfileName
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Name of the topic profile for the social post in Social Studio.
TopicType
Type
picklist
Properties
Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
Type of topic. Values are:
  • Keyword
  • Managed
TruncatedContent
Type
string
Properties
Filter, Group, Nillable, Sort
Description
Truncated content of the social post.
UniqueCommentors
Type
int
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Number of unique people who commented on the social post.
ViewCount
Type
int
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Number of times the social post was viewed.
WhoId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Polymorphic ID of a person such as a lead or a contact.

Usage

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.