Skip to content

Instantly share code, notes, and snippets.

@wutupake
Created April 20, 2011 08:24
Show Gist options
  • Save wutupake/930711 to your computer and use it in GitHub Desktop.
Save wutupake/930711 to your computer and use it in GitHub Desktop.
Se le dimensioni della fan page superano 520px X 800px, usare questo metodo (OLDES)
<html>
<body style="overflow: hidden;margin:0px;padding:0px">
<div id="fb-root"></div>
<script src="http://connect.facebook.net/en_US/all.js"></script>
<script>
window.fbAsyncInit = function() {
FB.Canvas.setAutoResize();
};
(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>
<div style="height:1470px; width:520px; background:transparent;">
Page content
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment