ios - 使用 FBSDKLoginBehaviorWeb 处理 fb 集成上的错误密码事件
<p><p>您好,我已使用以下代码将 fb 集成到我的 ios 应用程序中,并且运行成功。但是这里发生了一件奇怪的事情,当我尝试错误的 id/密码,然后在我输入正确的 id 和密码后,它会将我重定向到 facebook webview,我的个人资料打开一个奇怪的。它应该重定向到我的应用程序。对此的任何帮助将不胜感激。</p>
<pre><code>FBSDKLoginManager *login = [ init];
login.loginBehavior = FBSDKLoginBehaviorWeb;
handler:^(FBSDKLoginManagerLoginResult *result, NSError *error) {
if (error)
{
NSLog(@"Login Error : %@", error.description);
}
else if(result.isCancelled)
{
NSLog(@"Login Cancel By User");
}
else
{
;
//;
}
}];
</code></pre></p>
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p><p>这是一个 facebook SDK 错误检查 <a href="https://developers.facebook.com/bugs/1684079998480422/" rel="noreferrer noopener nofollow">here is the submitted bug</a>并且作为 Facebook 开发团队,将在下一次更新中修复:</p>
<p> <a href="/image/Ctzbc.png" rel="noreferrer noopener nofollow"><img src="/image/Ctzbc.png" alt="enter image description here"/></a> </p></p>
<p style="font-size: 20px;">关于ios - 使用 FBSDKLoginBehaviorWeb 处理 fb 集成上的错误密码事件,我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/32582975/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/32582975/
</a>
</p>
页:
[1]