Share via

SPSocialFeedManager.GetFeed method

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

Namespace:  Microsoft.Office.Server.Social
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)


Public Function GetFeed ( _
    type As SPSocialFeedType, _
    options As SPSocialFeedOptions _
) As SPSocialFeed
Dim instance As SPSocialFeedManager
Dim type As SPSocialFeedType
Dim options As SPSocialFeedOptions
Dim returnValue As SPSocialFeed

returnValue = instance.GetFeed(type, options)
public SPSocialFeed GetFeed(
    SPSocialFeedType type,
    SPSocialFeedOptions options


Return value

Type: Microsoft.Office.Server.Social.SPSocialFeed
The requested feed based on the specified parameters.


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

See also


SPSocialFeedManager class

SPSocialFeedManager members

Microsoft.Office.Server.Social namespace