Forum Discussion
Claudius
3 years agoBoss
If I understand you correctly you are looking to programmatically extract all / the latest topic messages that were posted on your Khoros community. I think the best approach is a LiQL search on the message collection with the "depth=0" constraint to only get top level messages. So something like:
SELECT subject, body FROM messages WHERE depth=0
You would probably want to add post_time constraints to not always pull all topic messages, but only those from a specific time window, like last 7 days.
See the documentation here: https://developer.khoros.com/khoroscommunitydevdocs/docs/messages
Let me know if I understood it right or you are looking for something different.
Related Content
- 16 years ago
- 10 years ago