Skip to content

Instantly share code, notes, and snippets.

@harrypujols
Last active December 22, 2015 22:39
Show Gist options
  • Save harrypujols/6541625 to your computer and use it in GitHub Desktop.
Save harrypujols/6541625 to your computer and use it in GitHub Desktop.
These links behave same as social media sharing buttons, with sampleurl.com as the variable
<!-- facebook -->
<a href="https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fsampleurl.com%2F"></a>
<!-- twitter -->
<a href="https://twitter.com/intent/tweet?url=http%3A%2F%2Fsampleurl.com%2F&text=Sample&nbsp;URL"></a>
<!-- google plus -->
<a href="https://plus.google.com/share?url=http%3A%2F%2Fsampleurl.com%2F"></a>
<!-- linkedin -->
<a href="http://www.linkedin.com/shareArticle?mini=true&url=http%3A%2F%2Fsampleurl.com%2F&title=sampleURL"></a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment