Aaron D. Campbell: Integration of WordPress With External APIs
Share this post Share this Post this
Comments
One response to “Aaron D. Campbell: Integration of WordPress With External APIs”
-
Aaron, I’ve been taking cues from your talk here, for setting up a listener that creates new posts when asked to by an external web app. It’s working fine, and I’m using your suggestions here for handling authentication (checking a salted-secret). The request is coming in as a POST with a Content-Type: application/x-www-form-urlencoded header.
Now, I’m looking into sending the data as json, with a Content-Type: application/json header. This seems to be the way it’s encouraged by the jetpack JSON API, and I guess oAuth2 should be used to authenticate.
How does that approach relate to the methods you’re suggesting here, and would you recommend using the JetPack JSON API instead of the approach you’ve outlined here?
For me, I’m able to follow and apply the method you show here, whereas utilising the JSON API and especially oAuth2 would require another trip up the learning curve 🙂
Video details
Published
October 15, 2012

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Leave a Reply