WordPress.org

Ready to get started?Download WordPress

Forums

JSON API
JSON API - IOs - Post content without all the extra ! (2 posts)

  1. ecaste
    Member
    Posted 2 years ago #

    Dears,
    I'm an IOs developer and after searching a while on how to communicate between a wordpress blog and an iOS app I finally decided to go thru JSON API that seems to be the most adapted way.

    Unfortunately it seems that the standard method get_post retrieve not only the content of a post but also all the social share, google analytics, adsense...etc...etc stuff.

    And I only want the content of the post

    Do you have any idea on how to achieve that, of course I can't uninstall all these plugins from the blog.

    Thanks
    Emmanuel

    http://wordpress.org/extend/plugins/json-api/

  2. jangelo42
    Member
    Posted 1 year ago #

    Have you tried only requesting the fields you are interested. For example:
    http://example.com/?json=1&count=10&custom_fields=PostThumb&include=title,custom_fields,excerpt

    I found this in an good article at: http://digwp.com/2010/05/wordpress-json-api-plugin/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic