Skip to content

Instantly share code, notes, and snippets.

@rakeshpai
Created January 16, 2012 20:53
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 rakeshpai/1623014 to your computer and use it in GitHub Desktop.
Save rakeshpai/1623014 to your computer and use it in GitHub Desktop.
FB without fbAsyncInit
<script>
window.FB = window.FB || {
onReady: function() {
// This is called when the code has loaded.
}
};
// Load the SDK Asynchronously
(function(d){
// <snip>
// Asynchronouly load Facebook's JS SDK
}(document));
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment