Skip to content

Instantly share code, notes, and snippets.

@astrotars
Created May 7, 2014 03:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save astrotars/c686cd7219792e618102 to your computer and use it in GitHub Desktop.
Save astrotars/c686cd7219792e618102 to your computer and use it in GitHub Desktop.
<div id="fb-root"></div>
<script>
window.fbAsyncInit = function() {
FB.init({
appId: '1437072919869732',
status: true,
xfbml: true
});
};
(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/en_US/all.js";
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