Created
October 5, 2010 10:20
-
-
Save bartvandendriessche/611329 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
<body> | |
<div id="fb-root"> | |
<script type="text/javascript"> | |
(function() { | |
var e = document.createElement('script'); | |
e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js'; | |
e.async = true; | |
document.getElementById('fb-root').appendChild(e); | |
}()); | |
window.fbAsyncInit = function() { | |
FB.init({ | |
appId : 'put your key here', // eventhough this variable is called appId, you need to put your api_key here ! | |
status : true, // check login status | |
cookie : true, // enable cookies to allow the server to access the session | |
xfbml : true // parse XFBML | |
}); | |
} | |
</script> | |
</div> | |
<!--Your actual content goes here--> | |
</body> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment