Surprise! Facebook is breaking more stuff on January 1st
Facebook is updating their JavaScript SDK by deprecating three functions. The first function,
FB.Canvas.setAutoResize is going to be replaced with a new function FB.Canvas.setAutoGrow. These functions are used to dynamically change the size of your Facebook canvas and remove the scroll bars from view. If the function is not replaced your canvas will not be displayed as you expect. This change does not effect the FB.Canvas.setSize() function.
The other two functions are part of the FB.Data package of functionality (FB.Data.query & FB.Data.waitOn), and are used to query the graph using FQL. These functions will not be available to new applications and appear to be available for the near future. An alternative to these functions is to use FB.api() to make your FQL call to the graph.
For the full list and dates for Facebook changes look to the Developers Roadmap.
3 Responses to “Surprise! Facebook is breaking more stuff on January 1st”
Leave a Comment


Bp on December 3rd, 2011
I added you guys to my favorite bar so that I can check up with you in the future and see what you have going on with your wordpress site. I just started a wordpress site and it is at the very start of the original theme. I am starting some programming classes through devry on Jan 3rd so that I can learn some new stuff. If you guys want to check the site out and help me with a few ideas I would appreicate it!
Nobody on December 7th, 2011
Looks like Bp would appreicate it if you checked out Bp’s site.
Benjamin B. on December 20th, 2011
This seems to be the epitome of moving goalposts. Is FBML becoming a thorn in the side of developers, much like the IE woes of the past? At least it is a good excuse for more R&D time…