Reputation: 113
We are calling FB.Canvas.setAutoGrow() before end of the body tag in our app. But it is not working. Where should we put the autogrow to make sure it gets called
Upvotes: 1
Views: 2872
Reputation: 29
It should be included after this area:
FB.init({
//SETTINGS HERE
});
If you believe you have everything set up correctly and it still isn't working, make sure you have the correct doctype set. That can cause it not to work in versions of IE.
Example:
<!DOCTYPE html>
Hope that helps...
Upvotes: 0
Reputation: 31870
Just after you call the FB.init() function is where I usually put it. That's usually inside of the fbAsyncInit function.
Upvotes: 1