How to fetch posts/topics by multiple usernames

Hi all,

I’m trying to find a way to display posts/topics posted by many users in my app.

I’ve tried discourse api

  • user_actions.json with filter=4,5 => but it becomes a problem if the group of user is large.
  • search.json => I could only search one username at a time

Is there any other suggestions? or should I consider creating a custom plugin for it?

An alternative to using a custom plugin would be to write a Data Explorer query that returns the information you’re looking for. You could then make API requests to run the query: Run Data Explorer queries with the Discourse API.


thanks @simon it worked out well.