I want to make the scrollbars in my iFrame application disapear. So I checked the “Auto-resize” radio button under “Facebook Integration” and I understand I need to call “setAutoResize” so the canvas will grow to the height of my page.
But I can’t find any documentation about the php SDK or explanation of how and where shall I call this function (and on what object). I can only find relevent documentation abput the JS SDK which is very different.
You cant do that with PHP SDk (i think)
You should use the magic javascript provided by Facebook in order to resize according to the contents :
http://developers.facebook.com/docs/reference/oldjavascript/FB.CanvasClient.startTimerToSizeToContent