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