I am creating a chatter based custom application and wants to display Trending chatter posts based on the activity around that Post (Likes, Comments etc.)
I couldn't find any Method/API exposed by SF to do it in a standard manner.
Available Workaround so far
- Search for Trending Topics and search for related posts. Connect API has a Trending Topic method
But if post is not related to any topic, I won't find it.
- Search for All posts and then sort them based on Number of comments and Likes. However this approach won't work once number of posts start growing.