JSON API – Comment Author Issue
-
Hello,
Jetpack is a great plugin and we use it for its cool JSON API on a self-hosted WordPress setup.
I am facing a problem while retrieving comments for a particular post page, the returned author object is always same (admin in my case) but it should be really comment author as shown in documentation.
This is the API url that I am trying – https://public-api.wordpress.com/rest/v1.1/sites/www.ask-oracle.com/posts/978/replies/?pretty=1
As you can see above, author object is always same and not really the comment author.
It can verified from this webpage – https://www.ask-oracle.com/sign-compatibility/aries-man-taurus-woman/However it is working as expected when I query any particular comment – https://public-api.wordpress.com/rest/v1.1/sites/www.ask-oracle.com/comments/1296560/?pretty=1
I am not sure what I am doing wrong (or what might cause problem on my setup). It is working good on the url provided within documentation – https://public-api.wordpress.com/rest/v1/sites/en.blog.wordpress.com/posts/7/replies/?pretty=1
- The topic ‘JSON API – Comment Author Issue’ is closed to new replies.