Google+ Sharing Custom button for your app

Share Custom message from your own website using this

Step 1.

<?php $message=”Your Custom message goes Here……..”; ?>

Step 2.

<a href=”https://m.google.com/app/plus/x/?v=compose&content=&lt;?php $message  ?>” onclick=”window.open(‘https://m.google.com/app/plus/x/?v=compose&content=&lt;?php $message  ?>’,’gplusshare’,’width=450,height=300,left=’+(screen.availWidth/2-225)+’,top=’+(screen.availHeight/2-150)+”);return false;”><img src=”http://path.to/plus.png&#8221; alt=”Share on Google+” width=”55″ height=”22″ /></a>

thats it…..

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s