Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 43d2f2ed01
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (21 sloc) 0.832 kb

Sample Use:

In your head

[script type="text/javascript" charset="utf-8" src="PGSocialShare.js"][/script]

Somewhere in your code

    function shareStatus()
        navigator.plugins.pgSocialShare.shareStatus("This was shared from JS+PhoneGap+WP7 Yo!");

    function shareLink()
    navigator.plugins.pgSocialShare.shareLink("WP7 PhoneGap Plugins",
    "Watch for updates here soon! Shared from JavaScript");

In your markup :

<input style="display:block;margin:40px 0px" type="button" onclick="shareLink()" value="Share a Link"/>
<input style="display:block;margin:40px 0px" type="button" onclick="shareStatus()" value="Update your Status"/>
Jump to Line
Something went wrong with that request. Please try again.