WordPress.org

Forums

JSON API
Get new Posts (3 posts)

  1. Shijo64
    Member
    Posted 11 months ago #

    Hi, I'm having a bit of a trouble, in my application I make a request of my posts, and then save them to a database as objects, but I need to check if there are new posts created because the app only make the request once and then all the data is taken from the database, is there a way to get only the new posts or do I need to make a new request? I hope anyone can help me, thanks in advance

    https://wordpress.org/plugins/json-api/

  2. MarkyC
    Member
    Posted 11 months ago #

    Perhaps save a last_updated date, and use get_date_posts from after last_updated

  3. byakuya68
    Member
    Posted 11 months ago #

    Hi guys,

    Did you manage to get the api working with get_date_posts? I tried like this : but it didn't work... http://www.example.com/api/get_date_posts&date=20140805/

    Thanx

Reply

You must log in to post.

About this Plugin

  • JSON API
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic