SPSocialFeedManager.GetFeed(SPSocialFeedType, SPSocialFeedOptions) SPSocialFeedManager.GetFeed(SPSocialFeedType, SPSocialFeedOptions) SPSocialFeedManager.GetFeed(SPSocialFeedType, SPSocialFeedOptions) Method

Definition

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

public:
 Microsoft::Office::Server::Social::SPSocialFeed ^ GetFeed(Microsoft::Office::Server::Social::SPSocialFeedType type, Microsoft::Office::Server::Social::SPSocialFeedOptions ^ options);
[Microsoft.SharePoint.Client.ClientCallable]
public Microsoft.Office.Server.Social.SPSocialFeed GetFeed (Microsoft.Office.Server.Social.SPSocialFeedType type, Microsoft.Office.Server.Social.SPSocialFeedOptions options);
Public Function GetFeed (type As SPSocialFeedType, options As SPSocialFeedOptions) As SPSocialFeed
Parameters
type
SPSocialFeedType SPSocialFeedType SPSocialFeedType

The feed type to retrieve.

options
SPSocialFeedOptions SPSocialFeedOptions SPSocialFeedOptions

Feed retrieval options such as date range and sort order.

Returns

The requested feed based on the specified parameters.

Remarks

The feed type 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

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(String) method and pass in the thread ID.

Applies to