Deprecating FBML
As you probably already know (or read quote at the end of this post), Facebook is deprecating FBML in favor of iframes for developping applications.
I am currently launching a new browser plug in and need a landing tab on my facebook page with personalized install buttons an开发者_运维知识库d all the useful features one can wish to have on a fan page.
However, I cannot use an iframe in my page because Facebook forbids it (see SO related question here) and I am told not to use FBML because it is being deprecated.
Question is the following: What should I use then ?
(I did ask my question on the fbexchange website but got no answer so far (posted 3 days ago))
Quoted from http://developers.facebook.com/docs/reference/fbml/
We are in the process of deprecating FBML. If you are building a new application on Facebook.com, please implement your application within an iframe, using our JavaScript SDK and Social Plugins. While there is still functionality that we have not ported over yet, we are no longer adding new features to FBML.
Although Facebook are deprecating FBML they will continue to support it for applications that are currently built with it. What they mean by deprecation is that they will not allow any NEW applications to use FBML come 2011. You have two choices as far as I can see:
- Facebook have confirmed that pages will have iFrames when FBML is deprecated. So you can wait for this change to happen and then use your iFrame.
- Make your application with FBML NOW and it will be fine, however, obviously this is not a good long term solution.
If your launch is imminent then my advice would be to bite the bullet and create both the iFrame and FBML version and simply switch when iFrame's become activated for pages.
This should no loner be an issue -- iFrames are now supported on Page tabs: http://developers.facebook.com/blog/post/462/
精彩评论