function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
manimmanim 

Chatter REST API to get updates for everything I am following

Is there any chatter REST API to get updates for everything I am following ?

Thanks.

JohnHoustonJohnHouston

The news feed should do it:   /chatter/feeds/news/me

manimmanim

Thanks for help. This API returns what I needed .

I wanted to know whether there is any way I can limit the number of results returned. For e.g. Get the results for last 3 months and not older than that?

Thanks.

forecast_is_cloudyforecast_is_cloudy

You'll have to perform that kind of filtering on your own on the client side. Each post/comment has a 'createdDate'/'modifiedDate' value and so you could write some simple code that only displayed data within a certain time period (posts are returned chronologically)