Search code examples
javascriptiphonejqtouchcordova

Posting Twitter and Facebook updates from a jQTouch / Phonegap iPhone app


I'm using jQTouch and Phonegap to write a simple iPhone app which i'm planning to release through the App Store.

Part of the planned functionality will let the user update their twitter or facebook status with the output of the App (some text, possibly a link).

Before I go ahead and start rolling my own solution, are there any JS libraries or plugins (or anything else) out there which will make this a lot simpler? Ive tried a few Google searches which havent turned up anything. The thought of all the authentication / error handling code is a bit daunting.

Thanks,

James.


Solution

  • I endup implementing facebook and twitter login using the ChildBrowser plugin to authenticate as a mobile web site.

    If this interesting for someone I could write a blog post about it.

    http://github.com/purplecabbage/PhoneGap-Plugins/tree/master/ChildBrowser/

    Update: I just made the blog post: http://www.pushittolive.com/post/1239874936/facebook-login-on-iphone-phonegap

    Hope it make sense, it explains how to login with facebook. I could make one about twitter login if someone is interested, but is basically the same.

    Cheers, Sebastian