Talk:Choosing between an FBML or IFrame Application
From Facebook Developer Wiki
[edit] Requiring Authentication
There seems to be no documentation as to how a developer can require authentication in an IFrame app. Using the same approach as a FBML canvas page (redirecting to login.php) produces a horrid iframe-inside-iframe. Connect-style <fb:login-button> and FB.Connect.requireSession() don't seem to work.
If it's possible to require authentication in an iframe app, this needs to be a comparison section in this document.
- You can use the requirelogin attribute in an URL or a form, as per Authorization and Authentication for Canvas Page Applications on Facebook. Pete -- 563683308 11:21, 12 November 2009 (PST)
