1

This method seems to have stopped working.

App code was tested thoroughly last week and all was well. This morning...scrollbars are appearing on our page tab apps.

Example: http://www.facebook.com/HondaPowersports/app_329359370439338

Very simple code on this page - it is all static HTML with just one FB method call:

window.fbAsyncInit = function() {
    FB.Canvas.setSize({ width: 810, height: 975 });
}

Anyone else with this same problem? Any ideas?

3 Answers3

0

Related bug: http://developers.facebook.com/bugs/322561887802154

Sandeep Shetty
  • 1,232
  • 9
  • 8
0

According to the documentation (FB.Canvas.setSize):

Note: this method is only enabled when Canvas Height is set to "Settable (Default: 800px)" in the Developer App.

Has someone modified the settings of your Facebook app? If it's not configured as stated above then it stops working.

Simeon Visser
  • 118,920
  • 18
  • 185
  • 180
0

it seems to me it is deprecated and you have to use setAutoGrow... not sure , take a look :)

Luca Rocchi
  • 6,272
  • 1
  • 23
  • 23