Note that there are some explanatory texts on larger screens.

plurals
  1. POCan't auth to Facebook with iOS SDK and native Facebook application
    text
    copied!<p>What I have and what're problems occurred:</p> <ol> <li>I've one Facebook account with game application (every day people's playing)</li> <li>I've one more Facebook account with test application, that created recently with default settings.</li> <li>I've native Facebook application on my iPod</li> <li>I'm developing iOS application which uses Facebook iOS SDK.</li> </ol> <p>Invalid flow:</p> <p>If I use App ID/API Key from first application, I open my application and trying to login. Facebook SDK opens native FB application and show me that screen <img src="https://i.stack.imgur.com/0HxBz.jpg" alt="enter image description here"></p> <p>I press OK and go back to my iOS with such error and without access token:</p> <pre><code>(NSError *) $0 = 0x001710f0 Error Domain=com.facebook.sdk Code=2 "The operation couldn’t be completed. (com.facebook.sdk error 2.)" UserInfo=0x16d4b0 {com.facebook.sdk:ErrorLoginFailedOriginalErrorCode=210} </code></pre> <p>Valid flow:</p> <p>If I use App ID/API Key from second (test) application, I open my application and trying to login. Facebook SDK opens native FB application and show me that screen <img src="https://i.stack.imgur.com/I5VMI.jpg" alt="enter image description here"></p> <p>I press OK and go back to my iOS with valid access token.</p> <p>Settings of applications are the same, I didn't see any differences. This problem occurred if I have native Facebook application. If I haven't it, Facebook SDK opens browser and authorization will be successful with first and second App ID.</p> <p>If someone had such problem, please help. Thanks a lot.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload