Newer Version Available
User Profile Feed Resources
Contains feed elements created when a user changes
records that can be tracked in a feed, feed elements whose parent is the user, and feed elements
that mention the user. This feed is different than the news feed, which returns more feed items,
including group updates. You can post feed items to the user-profile feed. You can get another
user’s user profile feed.
Available resources are:
| Resource | Description |
|---|---|
| /chatter/feeds/user-profile/me | Returns a URL to the feed elements for the user profile feed. |
| /chatter/feeds/user-profile/me/feed-elements | Returns feed elements created when a user changes records that can be tracked in a feed, feed elements whose parent is the user, and feed elements that mention the user. This feed is different than the news feed, which returns more feed items, including group updates. You can post feed items to the user-profile feed. You can get another user’s user profile feed. |
User Profile Feed URL
Returns a URL to the feed elements for the user profile feed.
- Resource
-
1/chatter/feeds/user-profile/userId1/connect/communities/communityId/chatter/feeds/user-profile/userId - Response body
- Feed
User Profile Feed Elements
Returns feed elements created when a user changes records that can be tracked in a feed, feed elements whose parent is the user, and feed elements that mention the user. This feed is different than the news feed, which returns more feed items, including group updates. You can post feed items to the user-profile feed. You can get another user’s user profile feed.
- Resource
-
1/chatter/feeds/user-profile/userId/feed-elements1/connect/communities/communityId/chatter/feeds/user-profile/userId/feed-elements - Available since version
- 31.0
- Requires Chatter
- Yes
- HTTP methods
- GET, HEAD
- Request parameters for GET
-
Parameter Name Type Description Required or Optional Available Version density String The density of the feed. One of these values: - AllUpdates—Displays all updates from people and records the user follows and groups the user is a member of. Also displays custom recommendations.
- FewerUpdates—Displays all updates from people and records the user follows and groups the user is a member of. Also displays custom recommendations, but hides some system-generated updates from records.
The default value is AllUpdates.
Optional 31.0 elementsPerBundle Integer Maximum number of feed elements to include in a bundle. The value must be an integer from 0 through 10. The default value is 3. Optional 31.0 filter String Valid values are CommunityScoped and AuthoredBy. Optional 34.0 page String A generated token that indicates the view of feed elements in the feed. Page tokens are returned as part of the response body, in one of the URL parameters, such as nextPageURL: 1"nextPageUrl": 2"/services/data/v49.0/ 3chatter/feeds/news/ 4005D0000001GLowIAN 5/feed-elements 6?page=2011-03-30T17:34:50Z, 70D5D0000000DSv4KAG"Optional 31.0 pageSize Integer Specifies the number of feed elements per page. Valid values are from 1 through 100. The default value is 25. Optional 31.0 q String One or more keywords to search for in the body and comments of feed elements in this feed. The search string can contain wildcards and must contain at least two characters that aren’t wildcards. See Wildcards.
Optional 31.0 recentCommentCount Integer Maximum number of comments to include per feed element. The default value is 3. The maximum value is 25. Optional 31.0 sort String Order of feed items in the feed. - CreatedDateAsc—Sorts by oldest creation date. This sort order is available only for DirectMessageModeration, Draft, Moderation, and PendingReview feeds.
- 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.
Optional 31.0 threadedCommentsCollapsed Boolean Specifies whether to return threaded comments in a collapsed style (true) or not (false). If you don’t specify a value, the default is false. Optional 44.0 - Response body for GET
- Feed Element Page