Skip to content

Instantly share code, notes, and snippets.

@ptasker
Created October 31, 2012 18:04
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 ptasker/3988736 to your computer and use it in GitHub Desktop.
Save ptasker/3988736 to your computer and use it in GitHub Desktop.
<div id="fb-root"></div>
<script type="text/javascript" src="//connect.facebook.net/en_US/all.js"></script>
<script type="text/javascript">
FB.init({
appId: 'APPID', // App ID
channelUrl: '//example.com/channel.html', // Channel File
status: true,
cookie: true,
xfbml: true
});
FB.Canvas.setSize({height: 1200});
setTimeout("FB.Canvas.setAutoGrow()", 500);
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment