SP.Social.SocialThread object (sp.userprofiles)

Represents a thread in a social feed.

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

var object = new SP.Social.SocialThread()

Members

The SocialThread object has the following members.

Constructor

The SocialThread object has the following constructor.

Constructor

Description

SocialThread

Initializes a new instance of a thread in a social feed.

Methods

The SocialThread object has the following methods.

Method

Description

initPropertiesFromJson

This member is reserved for internal use and is not intended to be used directly from your code.

writeToXml

This member is reserved for internal use and is not intended to be used directly from your code.

Properties

The SocialThread object has the following properties.

Property

Description

actors

Gets an array of actors who are participants in the thread.

attributes

Gets a set of attributes that apply to the thread.

id

Gets the unique identifier of the thread.

ownerIndex

Gets the index of the thread's owner within the thread's actors.

permalink

Gets a stable URI for navigating directly to the thread, if one is available.

postReference

Gets the referenced post. Applies to reference-type threads.

replies

Gets the replies to the thread.

rootPost

Gets the root post of the thread.

status

Gets a code that identifies recoverable errors that occurred during thread retrieval.

threadType

Gets the thread type (a non-reference or a reference-type thread).

totalReplyCount

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

typeId

This member is reserved for internal use and is not intended to be used directly from your code.

See also

Other resources

SP.Social namespace

Work with social feeds in SharePoint 2013

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