Share via


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

Gets the count of the total number of replies for the thread.

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

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

Return value

Int32
The count of the total number of replies for the thread.

Remarks

The thread might be a digest thread, which includes only the last two replies. To get all replies for a thread, use the SocialFeedManager.getFullThread method.

See also

Other resources

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

Reference threads and digest threads in SharePoint Server 2013 social feeds