title: facebook javascript sdk login not working on iOS / best practices for mobile
body: <p>I'm trying to allow a user to login to my webapp via facebook login using the javascript SDK. It works on desktop (safari and chrome), however the pop up fails on both safari and chrome on iOS. </p>
  
  <p>The error is straight forward to chrome where the browser and OS are not supported. This issue has a work around described <a href="https://stackoverflow.com/questions/16843116/facebook-oauth-unsupported-in-chrome-on-ios">here</a>. It is less clear what the issue is with safari and not seeing the pop up. The login call is called on a button click so I don't believe the browser should block it. I also tried allowing pop ups as suggested <a href="https://stackoverflow.com/questions/12493198/facebook-login-not-open-in-safari-iphone">here</a> but that solution did not work nor is it a viable long term solution to force users to change that setting. </p>
  
  <p>How do folks use facebook login in production and expect it to work on mobile? Do you need to use the <a href="https://developers.facebook.com/docs/facebook-login/manually-build-a-login-flow" rel="nofollow noreferrer">manual</a> fb login? It appears that the javascript SDK doesn't work well with mobile browsers and OS's. </p>