SocialFeedManager.GetFeed method

SharePoint Online

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

Namespace:  Microsoft.SharePoint.Client.Social
Assembly:  Microsoft.SharePoint.Client.UserProfiles (in Microsoft.SharePoint.Client.UserProfiles.dll)

public ClientResult<SocialFeed> GetFeed(
	SocialFeedType type,
	SocialFeedOptions options


Type: Microsoft.SharePoint.Client.Social.SocialFeedType

The feed type to retrieve.

Type: Microsoft.SharePoint.Client.Social.SocialFeedOptions

Feed retrieval options such as date range and sort order.

Return value

Type: Microsoft.SharePoint.Client.ClientResult<SocialFeed>
The requested feed based on the specified parameters.

When you retrieve a feed for the current user, you specify a feed type. The feed type that you request specifies whether to include activity from followed people and content or from the user's whole organization. For more information, see Overview of feed types and How to: Create and delete posts and retrieve the social feed by using the .NET client object model in SharePoint 2013.

If a thread contains more than two replies, the server returns a digest of the thread that contains only the two most recent replies. (Thread digests have the IsDigest thread attribute applied.) If you want to get all the replies in a thread, call the GetFullThread method and pass in the ID of the thread or root post.