Gets a feed of activity by the current user, and optionally by followed people and content or by the user's organization.
Assemblies: Microsoft.SharePoint.Client.UserProfiles.Silverlight (in Microsoft.SharePoint.Client.UserProfiles.Silverlight.dll); Microsoft.SharePoint.Client.UserProfiles.Phone (in Microsoft.SharePoint.Client.UserProfiles.Phone.dll) Microsoft.SharePoint.Client.UserProfiles (in Microsoft.SharePoint.Client.UserProfiles.dll)
'Declaration Public Function GetFeed ( _ type As SocialFeedType, _ options As SocialFeedOptions _ ) As ClientResult(Of SocialFeed) 'Usage Dim instance As SocialFeedManager Dim type As SocialFeedType Dim options As SocialFeedOptions Dim returnValue As ClientResult(Of SocialFeed) returnValue = instance.GetFeed(type, 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.
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.