title: Facebook iOS 9 SDK login redirects to mbasic.facebook.com on Safari
body: <p>I'm using the <em>iOS 9 Facebook SDK</em> to manage login. Prior to <em>iOS 9</em>, the process worked perfectly. It worked like this: </p>
  
  <p>1) user taps on the <code>Log In Via Facebook</code> button on my app<br/>
  2) user gets redirected to the Facebook app if the app is installed, otherwise redirected to Facebook's page on <em>Safari</em><br/>
  3) user authorizes my app's access to his/her <em>Facebook</em> credentials and redirects back to my app to complete login</p>
  
  <p>However in iOS 9, according to <a href="https://stackoverflow.com/a/32621036/2926423">this SO post</a> the default behavior is that in step 2), user will be redirected to his/her Facebook page on Safari instead. This behavior causes the following issue that's quite frustrating:</p>
  
  <p>A particular user has his/her <em>Facebook</em> page defaulted to <code>mbasic.facebook.com</code>, and when the user clicks on <code>Log In Via Facebook</code> on my app, it opens up <em>Safari</em> under the <code>mbasic.facebook.com</code> URL, and it shows the user's <em>Facebook Home</em> view with activity feeds rather than the app authorization page where the user can authorize my app. In this case, the user would have to:<br/> <strong>1) Log out of his/her <em>Facebook</em> account; <br/>2) Open my app, and click on the <code>Log In Via Facebook</code> button; <br/>3) <em>Safari</em> opens up facebook.com and user will need to first log in his/her Facebook account and then authorize my app</strong></p>
  
  <p>This is A LOT to ask from the user. My question are:<br/>1) How did the user get defaulted to the mbasic.facebook.com page instead of facebook.com? <br/>2) Is there anything that we can do in the <em>Facebook iOS 9 SDK</em> setting to override this redirect to <code>mbasic.facebook.com</code> and instead have it redirect to facebook.com like before?</p>