Share via

SocialFeedManager.GetFeedFor method

Gets a feed of activity by the specified user or team site.

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


Public Function GetFeedFor ( _
    actorId As String, _
    options As SocialFeedOptions _
) As ClientResult(Of SocialFeed)
Dim instance As SocialFeedManager
Dim actorId As String
Dim options As SocialFeedOptions
Dim returnValue As ClientResult(Of SocialFeed)

returnValue = instance.GetFeedFor(actorId, _
public ClientResult<SocialFeed> GetFeedFor(
    string actorId,
    SocialFeedOptions options


  • actorId
    Type: System.String

    The unique identifier of the user or team site to retrieve the feed for. For a user, you can use the account name or email address. For a site feed on a team site, use the format http://<server>/<teamSite>/newsfeed.aspx.

Return value

Type: Microsoft.SharePoint.Client.ClientResult<SocialFeed>


You can only retrieve the Personal feed type for a user who is not the current user. 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.

See also


SocialFeedManager class

SocialFeedManager members

Microsoft.SharePoint.Client.Social namespace