How to get the most recent posts on Yammer

New Contributor

I'm trying to query the Yammer API in order to do a search for all the posts with a certain hashtag eg. #win and then return the latest 20 posts.

 

The problem is, the "https://api.yammer.com/api/v1/search.json" endpoint returns your searches however, they're in seemingly random order and is not the latest.

 

Yammer limits you to only 20 results each time you call the API, and there may potentially be thousands of posts, so I cannot pull them all down and find the 20 most recent ones myself.

 

Anyone have any ideas on how to get the latest?

0 Replies