SP.Social.SocialFeedManager object (sp.userprofiles)

Provides methods for creating posts, modifying threads, and accessing social feeds.

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

var object = new SP.Social.SocialFeedManager(context)

Members

Constructors

The SocialFeedManager object has the following constructors.

Property

Description

SocialFeedManager

Initializes a new instance of the SocialFeedManager object.

Methods

The SocialFeedManager object has the following methods.

Method

Description

createImageAttachment

Creates an image attachment for a microblog post.

createPost

Creates a microblog post or reply.

deletePost

Deletes the specified post.

getAllLikers

Retrieves the unabbreviated liker information for the specified microblog post.

getFeed

Gets a feed of activity by the current user, and optionally by followed people and content or by the user's organization.

getFeedFor

Gets a feed of activity by the specified user.

getFullThread

Retrieves the specified thread with unabbreviated post and actor information.

getMentions

Gets a feed of threads that mention the current user.

getPreview

Generates an attachment that can be used to preview the link item, if preview data exists.

getPreviewImage

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

getUnreadMentionCount

Gets the count of unread mentions for the current user.

likePost

Makes the current user a liker of the specified microblog post.

lockThread

Locks the specified thread.

suppressThreadNotifications

Suppresses activity notifications for the specified thread.

unlikePost

Removes the current user from the list of likers for the specified microblog post.

unlockThread

Unlocks the specified thread.

Properties

The SocialFeedManager object has the following properties.

See also

Other resources

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