How to add Facebook/Google+/Twitter sharing buttons to mobile app (PhoneGap)

asp.net-mvc, cordova, facebook, google-plus, javascript

Solution

I am currently using this plugin for sharing options in Cordova 2.5+.

Its working perfectly for Android and iOS

Problem

I'm developing a mobile application (by `jQuery Mobile` And `PhoneGap`). How to add `Facebook`, `Twitter` and `Google+` `Sharing buttons` into my application? Is there any API or such easy way? (The server-side of my application uses `ASP.NET MVC 4`.) It doesn't matter that purposed way is server-side or client-side. (For example, Zite app has sharing buttons) EDIT: If your purposed method needs opening popup window, will `PhoneGap` handle this popup and close it after sharing, so user can come back to my application? And How to save user's credintals so user don't want to login every time? (credientals should be saved on client-side, by cookies or something else... (Do we can allow `PhoneGap` for saving cookies from `Facebook`, `Twitter` and `Google`?))

Original source