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?
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)
The news feed should do it: /chatter/feeds/news/me
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.
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)