web analytics
Skip to main content

Facebook deprecates FBML in favour of iFrame applications

Some months ago I wrote about which would be the best choice for developing a Facebook application: FBML or iFrames. Then, my team opted for using iFrame in our first Facebook application. Now that Facebook is announcing that is starting to deprecate FBML, I can see we took the right decision indeed.

From now on, all Facebook developers are encouraged to create their application using HTML, JavaScript and CSS. I think it was the proper direction to be taken by Facebook, since FBML always seemed to me a rather unnatural and clumsy thing. Thumbs up for the Zuckerberg crew!

Facebook applications: iFrame x FBML – which one is best?

In the last days my team has been working in its first Facebook application. For convenience, we’ve chosen to develop it using iFrames, but we took this decision without thinking too much about other possible benefits or inconvenients. When approaching the final development phases, we’ve faced some performance bottlenecks that made me doubt about our choice. But after making some research, I’ve found this interesting article that convinced me we took the right path:

Lead Facebook Engineer Recommends Developers Use IFrames for Speed, Convenience

At the end, our real problem was not the iFrame choice itself, rather some bad designed pages that made a lot of unecessary calls to the Facebook API. After correcting this, the performance problems were eased.

UPDATE (April, 2011): Some months after this post was written, I see we really took the good decision, since Facebook has begun to deprecate FBML.