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)

Syntax

'Declaration
Public Function GetFeed ( _
    type As SPSocialFeedType, _
    options As SPSocialFeedOptions _
) As SPSocialFeed
'Usage
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
)

Parameters

Return value

Type: Microsoft.Office.Server.Social.SPSocialFeed
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 method and pass in the thread ID.

See also

Reference

SPSocialFeedManager class

SPSocialFeedManager members

Microsoft.Office.Server.Social namespace