Categories
Facebook

Facebook: resizing an iframe dynamically

window.fbAsyncInit = function() {
FB.Canvas.setSize({ width: 520, height: 2000 });
}
// Do things that will sometimes call sizeChangeCallback()
function sizeChangeCallback() {
FB.Canvas.setSize();
}

Leave a Reply

Your email address will not be published. Required fields are marked *