Skip to content

Instantly share code, notes, and snippets.

@Riaan-ZA
Created May 8, 2013 12:57
Show Gist options
  • Save Riaan-ZA/5540252 to your computer and use it in GitHub Desktop.
Save Riaan-ZA/5540252 to your computer and use it in GitHub Desktop.
Facebook - tab template
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
</head>
<body style="overflow: hidden;">
<div id="fb-root"></div>
<script type="text/javascript">
window.fbAsyncInit = function() {
FB.init({appId: '498278780234016', status: true, cookie: true, xfbml: true, oauth: true});
window.setTimeout(function() {
FB.Canvas.setAutoGrow(); }, 250);
};
(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); }());
</script
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment