Front-End development

Coming soon projects, problems, solutions, news & what is cooking Josh now in the kitchen.

10th September 2015

How to shrink your Facebook tabs iFrame height when AutoGrow fails you.

When building a Facebook application tab, Facebook gives you a great function called FB.Canvas.setAutoGrow (formally FB.Canvas.setAutoResize) that allows for the Facebook iFrame to automatically figure out how tall it should be to incorporate all your content. As you switch between pages in your app, it continues to grow as needed. You can find numerous articles…