Skip to content

Instantly share code, notes, and snippets.

@isaurssaurav
Created February 21, 2017 06:08
Show Gist options
  • Select an option

  • Save isaurssaurav/f04f2a712a3ebba84c5e628afc758f1d to your computer and use it in GitHub Desktop.

Select an option

Save isaurssaurav/f04f2a712a3ebba84c5e628afc758f1d to your computer and use it in GitHub Desktop.
Socail Share Urls
Creating share buttons with just URL's
Google
https://plus.google.com/share?url=<URL>
E.g. https://plus.google.com/share?url=https%3A%2F%2Fwww.google.com
Twitter
http://twitter.com/share?text=<TITLE>&url=<URL>
E.g. http://twitter.com/share?text=This+is+google+a+search+engine&url=https%3A%2F%2Fwww.google.com
Facebook
http://www.facebook.com/sharer.php?u=<URL>&p[title]=<TITLE>
E.g. http://www.facebook.com/sharer.php?u=https%3A%2F%2Fwww.google.com%[title]=This+Is%2C+Google+a+search+engine
Pinterest
http://pinterest.com/pin/create/button/?url=<URL>&description=<TITLE>
E.g http://pinterest.com/pin/create/button/?url=https%3A%2F%2Fwww.google.com&description=This+is+google+a+search+engine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment