apaskett
11 years agoContributor
Recent threads logic issue
We've created a custom component to pull latest posts from two different blogs. We are using the REST API to call for threads (rest("blogs/id/<id>/threads?page_size=5").threads), but the posts being returned in production are not the most recent ones - they seemed to be delayed by about 5 days. We tested this component in our staging enviornment, and in that enviornment is pulling the most recent threads as expected.
- Is there some kind of caching going on?
- What is the difference between staging and production when making this call
Thank you for your help!
- Hi,
For recent threads, you need to use the threads/recent call mentioned below
http://community.lithium.com/t5/Community-API/bd-p/developers-rest-api?leaf-id=Blog.threads#Blog.threads.recent
Hope this helps.
Regards,
Chhama