If you are looking for PHP SDK Click Here to download it.
Code I used to remove the scrollbar from facebook application is this:
Make sure you set the facebook application setting to AutoResize, to do so follow this instructions:
Code I used to remove the scrollbar from facebook application is this:
<script type="text/javascript" src="http://connect.facebook.net/en_US/all.js"></script>
<script type="text/javascript">
function framesetsize(w,h){
var obj = new Object;
obj.width=w;
obj.height=h;
FB.Canvas.setSize(obj);
}
</script>
<body onload="framesetsize(500,2100)">
<div id="fb-root"></div>
<div style="height: 2000px">
</div>
</body> Make sure you set the facebook application setting to AutoResize, to do so follow this instructions:
- Login to your Facebook account
- Go to Developer panel
- Go to your application
- Click on Edit Setting
- Click on Facebook Integration Tab
- Select IFrame size to Auto-resize
4 comments:
Of all the code samples out there, this one worked. Thank you.
Really helpful codes for the Web designers.I am also starting my career as Web Designer.So it helped me a lot.Thanks for sharing.
works for me with one adjustment, at the bottom of the script wright height 100% instead of 2000px
Good to hear that :)
Post a Comment