Skip to content

Instantly share code, notes, and snippets.

@fizerkhan
Last active December 19, 2015 05:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fizerkhan/5907107 to your computer and use it in GitHub Desktop.
Save fizerkhan/5907107 to your computer and use it in GitHub Desktop.
Twitter, Facebook and Google Plus share links and how to use them

The share links are much better than share buttons. Because Share button need script to be loaded and also track our web pages to find number of shares or tweets. If you dont want complex script loading and share count. You can go ahead with simple share links.

Facebook share link

For Facebook, you just need to add this link in everyone of your posts.

http://facebook.com/sharer.php?u=http://url-of-the-post

Twitter share link

In the case of Twitter, you can use this one:

http://twitter.com/intent/tweet?url=http://url-of-the-post&text=Title of the post&via=your-twitter-handle

Google Plus share link

Finally in the case of Google Plus you may use this one.

https://plus.google.com/share?url=http%3A%2F%2Furl-of-the-post

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment