How to make Facebook app to work as an iframe app instead of an FBML one



There are few things that you'll need to check to make sure your app will work as an iframe app instead of an FBML one:

* Make sure your app's page are complete and valid XHTML
* Make sure you have the xmlns:fb="http://www.facebook.com/2008/fbml" declaration on your root element
* Wrap any existing FBML content in the following markup:

* Lastly, if you aren't already, make sure your page calls FB.XFBML.parse() after calling FB.init().

This would allow you to style your application to facebook look/feel in a PHP/JS (JavaScript) canvas app in an iframe.