Newer Version Available
Get Feed Elements Updated Since Last Request
- Resource
- To get feed elements that were updated since the last call to a feeds resource, make a request
to the value of the updatesUrl property of
the Feed Element Page response body. Feed elements that are updated in the same
second as the request aren’t returned.These feeds return an updatesUrl property:
- Company—/chatter/feeds/company/feed-elements
- Files—/chatter/feeds/files/me/feed-elements
- Filter—/chatter/feeds/filter/me/filterId/feed-elements
- Groups—/chatter/feeds/groups/me/feed-elements
- News—/chatter/feeds/news/me/feed-elements
- People—/chatter/feeds/people/me/feed-elements
- Record—/chatter/feeds/record/recordId/feed-elements
This excerpt from the Feed Elements Page response body shows a sample value for the updatesUrl property:1{ 2... 3..."updatesUrl" : "/services/data/v38.0/chatter/feeds 4 /news/005D0000001LL8OIAW/feed-elements?updatedSince=2:1384811809000" 5... 6}A feed element is considered to be updated if it was created since the last feed request, or if sort=LastModifiedDateDesc and a comment was added to the feed element since the last feed request. Adding likes and topics doesn’t update a feed element.
- HTTP method
- GET
- Returns
- Feed Element Page