# 如何监控热门帖子？

**URL:** <https://meta.discourse.org/t/how-to-monitoring-trending-posts/119272>\
**Category:** Product Support\
**Created:** [2019 年6 月 1 日 12:17 UTC](https://meta.discourse.org/t/how-to-monitoring-trending-posts/119272 "2019-06-01T12:17:40Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

作者： ![John\_Lehmann](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/john_lehmann/32/140084_2.png) [@John\_Lehmann](https://meta.discourse.org/u/John_Lehmann)\
发布日期： [2019 年6 月 1 日 12:17 UTC](https://meta.discourse.org/t/how-to-monitoring-trending-posts/119272/1 "2019-06-01T12:17:40Z")

</div>

I’m already using the API to monitor on an hourly basis my **topics** using various methods. I realized much of my best content is nested _within_ these topics and I want to expose it elsewhere. So I want monitor my top **posts** now.

I see the latest posts API call, however I’m assuming that this only returns the last 30 new posts and that activity like likes does not bump the post in this list. That means I may observe a post when it’s created and have zero likes, and then three hours later, not be aware that it has accumulated 30 likes and is strongly trending.

Any suggestions on how to monitor this? With topics it was easier because new posts were presumably bumping them to latest.

I’m imagining things like periodically querying on each individual post to update its stats, but this doesn’t seem scalable. Or periodically paginate through all the latest posts for the past day or two, which would allow me to “check in on” how some of those posts are doing after some hours have passed. But this would ignore a post’s performance improvements once it was older than said timeframe (assuming latest is ordered by post creation date). None of these seem ideal.

---

_[View the full topic](https://meta.discourse.org/t/how-to-monitoring-trending-posts/119272)._
