Skip to content

Instantly share code, notes, and snippets.

@sharpred
Created December 12, 2011 10:38
Show Gist options
  • Save sharpred/1466493 to your computer and use it in GitHub Desktop.
Save sharpred/1466493 to your computer and use it in GitHub Desktop.
Facebook Like Button
<html>
<head>
</head>
<body>
<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 = "http://connect.facebook.net/en_GB/all.js#xfbml=1&appId=171477789617721";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
<div class="fb-like-box" data-href="http://www.facebook.com/apps/application.php?id=171477789617721" data-width="292" data-show-faces="true" data-stream="true" data-header="true"></div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment