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
['https://Stackoverflow.com/questions/13140659', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1551880/']
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>
Currently the best cross-platform social share widget is [this one](https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin) which is also [available on PhoneGap Build!](https://build.phonegap.com/plugins/382)

It not only supports sharing via the native share widget, but you can also share directly to Facebook, Twitter, Pinterest, etc.