SocialMedia.getPostedList (Method)

Returns a list of social media content based on the specified filter criteria for the posted contents.

Returns:

SocialMedia_GetPostedList_Result (rowlimitedquery)

Arguments:

Name Type Required Description
contentID SocialMediaContentID_0 Optional. Defaults to '0'. The unique social media content ID to retrieve, or 0 to retrieve results based on the remaining filter criteria. If non zero value is passed the other filter criteria are ignored.
postID SocialMediaPostID_0 Optional. Defaults to '0'. The unique social media post ID to retrieve, or 0 to retrieve results based on the remaining filter criteria.
typeID SocialMediaTypeID_0 Optional. Defaults to '0'. The social media type to filter by, or 0 for all types.
serviceID SocialMediaServiceID_0 Optional. Defaults to '0'. The social media service to filter by, or 0 for all services.
ruleID SocialMediaRuleID_0_NEG1 Optional. Defaults to '0'. The social media rule to filter by, or 0 for all rules.
pageID RealPageID_0 Optional. Defaults to '0'. The unique page ID for which to retrieve posts, or 0 to retrieve results based on the remaining filter criteria.
beginDate Date_EmptyString Optional. Defaults to an empty string. A string describing the begin date field to filter.
endDate Date_EmptyString Optional. Defaults to an empty string. A string describing the end date field to filter.
searchString PlainText_100 Optional. Defaults to an empty string. If specified, the string to search against. The search will compare the rule name and content title fields.
orderBy SQLOrderByClause Optional. Defaults to 'Date DESC'. The SQL 'order by' clause indicating which column is used as the returned data's sort key.

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:

Code Error Message
83518 '$1' must be a current or past date that has already occurred. The date's format is 'yyyy-mm-dd'.
83530 The orderBy argument must be in the form {ColumnName} [Direction] where ColumnName must be one of the following: Date, Title, Channels, Clicks, Comments, Likes, Retweets or Shares. Direction is optional with values of ASC or DESC.
1000207 The end date cannot be before the start date.

Notes:

None