SP.Social.SocialFeedManager.getFeedFor Method (sp.userprofiles)

Gets a feed of activity by the specified user.

Applies to: apps for SharePoint | Office 365 | SharePoint Foundation 2013 | SharePoint Server 2013

SP.Social.SocialFeedManager.getFeedFor(actorId, options)

Parameters

  • actorId
    String
    The unique identifier of the user to retrieve the feed for (for example: "domainName\\userName").

  • options
    SP.Social.SocialFeedOptions
    Feed retrieval options such as date range and sort order.

Return value

SP.Social.SocialFeed
The requested feed for the specified user.

Remarks

You can only retrieve the Personal feed type for a user who is not the current user.

See also

Other resources

SocialFeedManager