title: Facebook App Iframe OAuth Login / Permissions Bug - possible to avoid?
body: <p>I have the same problem as outlined here <a href="https://stackoverflow.com/questions/4173318/facebook-oauth-login-for-iframe-canvas-apps-displays-a-logo-image-and-a-go-to-fac">Facebook OAuth login for iframe canvas apps displays a logo image and a Go to Facebook.com caption instead of logging in</a> - I've been able to use the workaround provided in the accepted answer to ensure users correctly see the permissions box on first use of the application. </p>
  
  <p>However, my issue is that this form of redirect after the initial "install" of the app is very disruptive for the user - they are visibly taken away from the Facebook site, before being redirected back. It really breaks the user experience. If I use the standard login method provided by the CodeIgniter library I'm using (<a href="http://www.haughin.com/code/facebook/" rel="nofollow noreferrer">http://www.haughin.com/code/facebook/</a>) then the login / load of the app is seamless - but I have the aforementioned issue on first use of the application. </p>
  
  <p>Is there a way I can detect whether a user has an app installed, so I can use the main login method for every instance other than the app "install"? </p>