Return to Snippet

Revision: 52529
at October 31, 2011 19:20 by Reportme


Updated Code
<div id="fb-root"></div>
<script src="http://connect.facebook.net/en_US/all.js"></script>
<script>
FB.init({
    appId  : '<?php echo $app_id; ?>',
    status : true, // check login status
    cookie : true, // enable cookies to allow the server to access the session
    xfbml  : true  // parse XFBML
});
		
    window.fbAsyncInit = function() {
       FB.Canvas.setSize({ width: 520, height: 1100 });
    }
    // Do things that will sometimes call sizeChangeCallback()
    function sizeChangeCallback() {
	FB.Canvas.setSize({ width: 520, height: 1100 });
    }
    window.setTimeout(function() { if (window.fbAsyncInit) { fbAsyncInit(); }}, 0);
</script>

Revision: 52528
at October 26, 2011 04:50 by Reportme


Updated Code
<div id="fb-root"></div>
<script src="http://connect.facebook.net/en_US/all.js"></script>
<script>
FB.init({
			appId  : '<?php echo $app_id; ?>',
			status : true, // check login status
			cookie : true, // enable cookies to allow the server to access the session
			xfbml  : true  // parse XFBML
		});
		
		window.fbAsyncInit = function() {
			FB.Canvas.setSize({ width: 520, height: 1100 });
		}
		// Do things that will sometimes call sizeChangeCallback()
		function sizeChangeCallback() {
			FB.Canvas.setSize({ width: 520, height: 1100 });
		}
		</script>

Revision: 52527
at October 25, 2011 22:49 by Reportme


Initial Code
<div id="fb-root"></div>
		<script src="http://connect.facebook.net/en_US/all.js"></script>
		<script>
		FB.init({
			appId  : '<?php echo $app_id; ?>',
			status : true, // check login status
			cookie : true, // enable cookies to allow the server to access the session
			xfbml  : true  // parse XFBML
		});
		
		window.fbAsyncInit = function() {
			FB.Canvas.setSize({ width: 640, height: 1100 });
		}
		// Do things that will sometimes call sizeChangeCallback()
		function sizeChangeCallback() {
			FB.Canvas.setSize({ width: 640, height: 1100 });
		}
		</script>

Initial URL


Initial Description


Initial Title
Change facebook iframe tab size

Initial Tags


Initial Language
JavaScript