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>
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>