Newer Version Available

This content describes an older version of this product. View Latest

Favorites Feed Elements

Returns a filtered feed, only showing those feed elements for the specified favorite.
Resource
1/chatter/feeds/favorites/userId/favoriteId/feed-elements
1/connect/communities/communityId/chatter/feeds/favorites/userId/favoriteId/feed-elements

userId must be the ID of the context user or the alias me.

Note

Available version
31.0
Requires Chatter
Yes
HTTP methods
GET
Request parameters for GET
Parameter Name Type Description Required or Optional Available Version
elementsPer​Bundle Integer The maximum number of feed elements per bundle. The default and maximum value is 10.

Bundled posts contain feed-tracked changes. In Salesforce1 downloadable apps, bundled posts are in record feeds only.

Note

Optional 31.0
page String The page token to use to view the page. Page tokens are returned as part of the response class, for example, currentPageToken or nextPageToken. If you pass in null, the first page is returned. Optional 31.0
pageSize Integer Specifies the number of feed elements per page. Valid values are from 1 through 100. If you pass in null, the default size is 25. Optional 31.0
recentComment​Count Integer The maximum number of comments to return with each feed element. The default value is 3. Optional 31.0
sort String Specifies the order of feed items in the feed.
  • CreatedDateDesc—Sorts by most recent creation date.
  • LastModifiedDateDesc—Sorts by most recent activity.
  • MostViewed—Sorts by most viewed content. This sort order is available only for Home feeds when the ConnectApi.FeedFilter is UnansweredQuestions.
  • Relevance—Sorts by most relevant content. This sort order is available only for Company, Home, and Topics feeds.
If you pass in null, the default value CreatedDateDesc is used.
Optional 31.0
Response body for GET
Feed Element Page