How to get the likers of the topic with api?
I use the curl method of php to achieve, but it has something error.
Error return: The page you requested does not exist or is private.
Do you know what reason?
How to get the likers of the topic with api?
I use the curl method of php to achieve, but it has something error.
Error return: The page you requested does not exist or is private.
Do you know what reason?
I have to use api key when it request.
Anyone konws?
https://meta.discourse.org/post_action_users.json?id=154208&post_action_type_id=2
works fine for me.
Thank you for your tips.
If I visit the url
http://your host/post_actions/users.json?id=776&post_action_type_id=2
it is ok.
We should use json method to get data of we want.
Yes. Discourse uses these APIs, so you are ensured they will continue to function because breaking them, would break Discourse.