Skip to content

Instantly share code, notes, and snippets.

@arthur-abogadil
Last active February 22, 2021 00:00
Show Gist options
  • Save arthur-abogadil/a398245bae83abbc7a78abe3dc5f6f6e to your computer and use it in GitHub Desktop.
Save arthur-abogadil/a398245bae83abbc7a78abe3dc5f6f6e to your computer and use it in GitHub Desktop.
<!-- Facebook -->
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v3.0";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<!-- Your share button code -->
<div class="fb-share-button"
data-href="https://www.your-domain.com/your-page.html"
data-layout="button_count">
</div>
<!-- Twitter -->
<a class="twitter-share-button"
href="https://twitter.com/intent/tweet?text=Hello%20world">
Tweet</a>
<script src="https://platform.linkedin.com/in.js" type="text/javascript">lang: en_US</script>
<script type="IN/Share" data-url="https://www.linkedin.com"></script>
<!-- Pinterest -->
<a href="https://www.pinterest.com/pin/create/button/" data-pin-do="buttonBookmark">
</a>
<!-- Email -->
<a href="mailto:?subject=I wanted you to see this site&amp;body=Check out this site http://www.website.com."
title="Share by Email">
<img src="http://png-2.findicons.com/files/icons/573/must_have/48/mail.png">
</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment