Skip to content

Instantly share code, notes, and snippets.

@rakeshpai
Created January 16, 2012 20:51
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/1622985 to your computer and use it in GitHub Desktop.
Save rakeshpai/1622985 to your computer and use it in GitHub Desktop.
Facebook's fbAsyncInit function declaration
<script>
window.fbAsyncInit = function() {
// <snip>
// The FB object is now ready to use
};
// 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