Reputation: 1137
I have developed an app using Phonegap for Android and IPhone. Is there how to programm the functionality with the Phonegap Framework to share a URL to twitter and Facebook for Android and IPhone?
Thanks
Upvotes: 4
Views: 6939
Reputation: 166
You have a couple of hybrid plugins for Phonegap which cover twitter and facebook among other social services:
Upvotes: 4
Reputation: 3550
Currently the best cross-platform social share widget is this one which is also available on PhoneGap Build!
It not only supports sharing via the native share widget, but you can also share directly to Facebook, Twitter, Pinterest, etc.
Upvotes: 1
Reputation: 906
This is really amazing for iOS. Its working with Phonegap Cordova 2.3
https://github.com/bfcam/phonegap-ios-social-plugin
For Android I'm using Android Share Plugin
https://github.com/phonegap/phonegap-plugins/tree/master/Android/Share
Upvotes: 2
Reputation: 348
You can use the following link for twitter on IOS: https://github.com/phonegap/phonegap-plugins/tree/master/iPhone/Twitter For Android: http://www.mobiledevelopersolutions.com/home/start/twominutetutorials/tmt5p1
Upvotes: 1
Reputation: 2332
The canonical Facebook plugin for Phonegap is here: https://github.com/davejohnson/phonegap-plugin-facebook-connect
It is being updated (by Facebook) to be compatible with the latest iOS and Android SDKs, and so would be recommended...
Upvotes: 1