SP.Social.SocialPost.authorIndex property (sp.userprofiles)

Gets the index of the post's author within the parent thread's actors.

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

var value = SP.Social.SocialPost.get_authorIndex()

Return value

Int32
The index of the post's author within the parent thread's actors.

See also

Other resources

SocialPost

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