Created
January 7, 2011 19:56
-
-
Save DavidQL/770011 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Load in FB javascript SDK | |
$('body').append('<div id="fb-root"></div>'); | |
window.fbAsyncInit = function() { | |
FB.init({appId: '146516048706850', status: true, cookie: true, xfbml: true}); | |
}; | |
(function() { | |
var e = document.createElement('script'); e.async = true; | |
e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js'; | |
document.getElementById('fb-root').appendChild(e); | |
}()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment