On Click share event for Twitter and Pinterest

For Facebook we use this Onclick event in the Facebook share button →

<a onClick="window.open('http://www.facebook.com/sharer.php?s=100&p[title]=YOUR_TITLE&p[summary]=YOUR_DESCRIPTION&p[url]=YOUR_URL&p[images][0]=YOUR_IMAGE','sharer','toolbar=0,status=0,width=580,height=325');" href="javascript: void(0)"> Facebook </a>

The above practically works like a charm.

Can someone help me for its Twitter, Google Plus, and the Pinterest equivalent?

You’ll want to visit those sites’ developer pages and look into their APIs for that information. Or search for “code to post to twitter share button” and the like.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.