Skip to content

Instantly share code, notes, and snippets.

@yann-yinn
Last active October 8, 2015 16:58
Show Gist options
  • Save yann-yinn/3361381 to your computer and use it in GitHub Desktop.
Save yann-yinn/3361381 to your computer and use it in GitHub Desktop.
social sharing js facebook
<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 = "//connect.facebook.net/fr_FR/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, \'script\', \'facebook-jssdk\'));
</script>';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment