Render fbml app as iframe or vice versa
Suppose you’re using FBML for your canvas page and you think for one page it should be rendered as iframe then you may use fb:iframe in the page. But in facebook there is a better solution. Using fb_force_mode query string parameter you can render your fbml page as iframe or you can render your iframe base app as fbml at runtime.
Here is an example:
visit this facebook app: http://apps.facebook.com/flixster/home . This is a fbml app so look the screenshot
Now if you want to show this page within iframe you can provide fb_force_mode parameter as iframe like:
Now visit this link http://apps.facebook.com/flixster/home?fb_force_mode=iframe and look the screenshot:
The page is now showing within iframe. Similarly if you have iframe base app and for some page you want to show fbml base then you can use