SocialMedia.getPosts (Method)

Returns the content for the specified social media post.

Returns:

SocialMedia_GetPosts_Result (query)

Each row of the returned query results has the following fields:

Field Name Type Description
ChannelID SocialMediaChannelID The ID of the channel for the social media post.
CreateDateTime Datetime A date on which the post was created.
CreatedBy UserID_0 ID of the user who created the post.
DefaultChannelList SocialMediaChannelIDList_EmptyString A comma delimited list of one or more channel IDs that are the default channels for the rule associated with the post.
FieldValues Struct A structure containing the field names and values for the post.
LastModifiedBy UserID_0 ID of the user who last modified the post.
LastModifiedDateTime DateTime_EmptyString A date on which the post was last modified.
PostedOnDateTime DateTime_EmptyString A date on which the post was posted/scheduled to be posted.
PostID SocialMediaContentOrPostID The ID of the social media post.
PostType SocialMediaPostType A boolean value identifying the type of the post.
RuleID SocialMediaRuleID_0_NEG1 A rule ID associated with the post.
ServiceID SocialMediaServiceID The unique identifier of the social media service.
Status SocialMediaPostStatus The status of the social media post.
TypeID SocialMediaTypeID The unique identifier of the social media type.

Arguments:

Name Type Required Description
contentID SocialMediaContentID Required  
channelIDList SocialMediaChannelIDList Required A comma delimited list of social media channel ID.

Context:

License Requirements SocialMedia
Permission Requirements (none)
Deny Context (none)
Require Context Authoring
Author Lock (not required)
Transaction Logging Transaction logging is disabled for this method
Customization Customization is not supported for this method.

Error Codes:

None

Notes:

None