I am currently developing the mobile versio开发者_JAVA百科n of my site.
Can you please give me a tutorial to integrate Facebook connect / Twitter so users can connect.
This can help you : http://www.pushittolive.com/post/1239874936/facebook-login-on-iphone-phonegap
This blog post http://www.wisejive.com/2010/11/phonegap-jquery-mobile-twitter-and.html contains the detail answer for both facebook connect and twitter. Of course, as the blogger mentions he is extending on the technique provided at http://www.pushittolive.com/post/1239874936/facebook-login-on-iphone-phonegap.
If you want to avoid phonegap, this solution is pretty neat - http://www.egrappler.com/jquery-social-media-share-plugin-jsshare/
Otherwise, the newer phonegap friendly solution uses their plugins directly, which can leverage some native apps and avoid the difficulties of OAuth - https://github.com/davejohnson/phonegap-plugin-facebook-connect & https://github.com/phonegap/phonegap-plugins/tree/master/iOS
精彩评论