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.