How to get more posts from posts.json

(Raymon Mens) #1

Hi guys,

I’m trying to integrate Discourse in another front-end and would like to show the latest posts on the frontpage. Im querying the API with for example but don’t get a consistent amount of posts back.

Is there any way to show the latest n posts. I tried and but none of that is working.


(Swarnava) #2

There is something like that to fetch the latest posts: