WordPress.org

Forums

JSON API
Jsonp and crossdomain calls (5 posts)

  1. kientran
    Member
    Posted 4 years ago #

    Thanks for writing a great interface for WordPress!

    I was wondering how you solved the cross domain ajax call issues with this API, namely how do you pass in a callback function to enable JSONP type calls?

    I'd like to be able to pull in the wordpress backend into various different domain sites.

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

  2. dphiffer
    Member
    Plugin Author

    Posted 4 years ago #

    Hi kientran,

    Check out section 3.1 of the documentation:
    http://wordpress.org/extend/plugins/json-api/other_notes/

    The query variable you want to use is callback.

  3. kientran
    Member
    Posted 4 years ago #

    Thanks, I feel dumb for missing that in the docs.

  4. dphiffer
    Member
    Plugin Author

    Posted 4 years ago #

    No problem, I miss stuff like that sometimes too...

  5. shivark
    Member
    Posted 3 years ago #

    Hi, thanks for the great plugin. i was wondering if it is possible to add commenting throught the widget (outside the main website).

Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic

Tags