SP.Social.SocialThread.rootPost property (sp.userprofiles)

Gets the root post of the thread.

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

var value = SP.Social.SocialThread.get_rootPost()

Return value

SocialPost
The root post of the thread.

See also

Other resources

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