WordPress REST API – How to comment on external posts?

I am using VueJS to retrieve posts from an external WordPress blog (not one that I own or have access to, but have been granted permission by themselves to serve up their content).

http://example.com/json/wp/v2/posts

I’d like to add the functionality for users to comment on these posts. I can see WordPress has a REST API for commenting:

http://v2.wp-api.org/reference/comments/

But of course because these posts are not stored in my db, I cannot simply post a comment to the post ID.

Anybody else managed to achieve similar?

Thank you

Read more here:: WordPress REST API – How to comment on external posts?

Leave a Reply

Your email address will not be published. Required fields are marked *