SP.Social.SocialPostCreationData.contentItems property (sp.userprofiles)

Gets or sets the items to replace the positional tokens in the post's content text.

Applies to: apps for SharePoint | Office 365 | SharePoint Foundation 2013 | SharePoint Server 2013

var value = SP.Social.SocialPostCreationData.get_contentItems()
SP.Social.SocialPostCreationData.set_contentItems(value) 

Return value

Type: SP.Social.SocialDataItem[]
The items to use to replace positional tokens in the post's content text.

See also

Other resources

How to: Create and delete posts and retrieve the social feed by using the JavaScript object model in SharePoint 2013

How to: Include mentions, tags, and links to sites and documents in posts in SharePoint Server 2013