Support » Plugin: JSON API » Show and submit comments

  • Hi!

    I make a mobile app of my WordPress blog with Phonegap. The app shows my blogposts, but it doesn’t show my comments and it isn’t possible to submit a comment.

    Does anyone have an example of a code how to submit and read the comments or does anyone know how I can make this possible? 🙂


Viewing 1 replies (of 1 total)
  • the post objects you get via the json api include comments. Take a look at the data you receive and the comments should be found under the comments array. Easy, I am doing the same as you but writing in native obj. c and convert the data into objects.
    For posting all you need ot do is send a post request to the api with the post id and the other details you can see in the api details 😉

Viewing 1 replies (of 1 total)
  • The topic ‘Show and submit comments’ is closed to new replies.