SocialMedia.getList (Method)

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

Returns:

SocialMedia_GetList_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.
statusList SocialMediaPostStatusList_ALL Optional. Defaults to 'Possible'. A comma delimited list of social media post statuses ('Possible', 'Scheduled', 'Posted'), or 'All'.
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.
displayDate DisplayDate Optional. Defaults to 'DateContentLastModified'. A string describing the date field to display.
showModifiedObjectsOnly Boolean Optional. Defaults to '0'. Boolean value indicating whether to display only the modified objects or not.
showFailedOnly Boolean Optional. Defaults to '0'. Boolean value indicating whether to fetch only the failed posts or not.

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
83529 The orderBy argument must be in the form {ColumnName} [Direction] where ColumnName must be one of the following: Date, Name or Title. Direction is optional with values of ASC or DESC.

Notes:

None