Publish Twitter and Facebook Updates from the iPhone iQTouch / Phonegap

I use jQTouch and Phonegap to write a simple iPhone application that I plan to release through the App Store.

Part of the planned functions will allow the user to update their twitter or facebook status with the release of the application (some text, possibly a link).

Before I get to the start of my own decision, are there any JS libraries or plugins (or something else) that will make this much easier? Ive tried several google searches that didn't find anything. Thinking about the whole authentication / error code is a bit complicated.

Thanks,

James.

+7
javascript iphone cordova jqtouch
source share
3 answers

I am completing the implementation of facebook and twitter login using the ChildBrowser plugin for authentication as a mobile website.

If this is interesting to someone, I can write a blog post about it.

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

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

Hope this makes sense, explains how to log in using facebook. I could make one of the posts on twitter if someone is interested, but basically the same.

Cheers, Sebastian

+6
source share

I am trying to do the same, the only methods that the FB provides an API for native code or a mobile website. Between them no (PhoneGap). I believe this is not possible, except writing the PhoneGap plugin for Twitter and Facebook (which is moderately difficult) or creating a website for your application and sending requests from there.

I myself decided to write the PhoneGap plugin using the iPhone code for iPhone and Twitter.

+1
source share

I tried to use ChildBrowser with Phonegap / Android, but it did not work due to API inconsistencies (the iPhone version has event handlers for downloading, etc., but the Android version does not work).

But I used the Phonegap Facebook plugin to connect, and it worked flawlessly.

I just refer to a previous blog post which includes a step-by-step introduction on how to connect to facebook inside the Phonegap environment: http://blog.lagentz.com/phonegap/facebook-authentification-inside-phonegap-android/

Hope this helps, Gregor

0
source share

All Articles