title: Facebook login in IOS works on emulator but not on device with native app installed
body: <p>Facing the following problem: need to perform Facebook login in IOS 7. The thing goes right on the emulator but when running it on device with native app installed, the session give not permission to perform the login.</p>
  
  <p>Using the code to create session:
  <img src="https://i.stack.imgur.com/upYjC.png" alt="enter image description here"></p>
  
  <p>The checarLogin method works like:</p>
  
  <p><img src="https://i.stack.imgur.com/hvmsw.png" alt="enter image description here"></p>
  
  <p>I have googled to find it and figured out that the device settings that control the permissions of Facebook app works differently in the two cases:</p>
  
  <p>Emulator give the permission with no issues:</p>
  
  <p><img src="https://i.stack.imgur.com/zAPsu.png" alt="enter image description here"></p>
  
  <p>The following image was took from emulator too, but only to illustrate the way the device
  works by default:</p>
  
  <p><img src="https://i.stack.imgur.com/RvW2v.png" alt="enter image description here"></p>
  
  <p>So the question is: there is other way to handle the login when running in a real device with native Facebook app installed and make it accept the permissions without the need to change the iphone settings?</p>