I need to adjust canvas size after updating content of a page. I can do it explicitly by
FB.Canvas.setSize({ width: 760, height: 1480 });
howev
I tried to use FB.Canvas.setSize(e);
to resize my app, but it did not resize at all.
I took a look in the Facebook Javascript and found out, that FB.Canvas.setSize
calls the FB.Arbiter.inform('setSize',e)
function.
If I call the FB.Arbiter.inform('setSize',{ width: 760, height: 1480 })
function right from my code, the canvas resizes correctly.