gpt4 book ai didi

ios - 在 facebook 中出现此错误 (com.facebook.error.2 )

转载 作者:行者123 更新时间:2023-11-29 03:13:35 24 4
gpt4 key购买 nike

我在我的应用程序中使用 Facebook 图形 API。我收到这个错误。在 Facebook 开发人员中,在创建应用程序帐户时,我们提供了与应用程序中相同的包标识符,但我仍然面临问题。我遇到这个问题是因为在 iPhone 中我们有两种登录方式,一种是通过转到设置 -> 添加您的帐户凭据,第二种是通过 Facebook api 登录。现在,如果我想打开 Facebook,则会出现此错误。如果我从设置屏幕中删除帐户,那么我的 Facebook sdk 正在运行。等待您的答复。

最佳答案

Turns out: a com.facebook.sdk error 2 can translate into a number of things. I'm looking for some kind of Facebook SDK error translation table, but I'm unable to find one. In my case: **The com.facebook.sdk error 2 happened because the connection timed out. Users who got this error had a bad network/WiFi connection.**

We implemented an error logging system, which logged the error details every time an error happened while logging into Facebook. In those logs we could see a com.facebook.sdk error 2 happening quite a lot, but it being resolved every time the user tried to log in again after a few seconds.

It might be due to my inability to find the right documentation, but I was and still am quite frustrated about the vagueness of these SDK errors. There is a lot of documentation about permission asking (which can result into the com.facebook.sdk error 2), but apparently this error can be caused by more things. It would be nice to see this documented somewhere as well.

**AND OTHER WAY.....**

This happened for an app that I was using. I was able to get around it by going to my iPhone settings, selecting Facebook, tapping on my name, and clicking "delete account."

Afterwards I was able to sign in with the app without issue.

I went back to settings | facebook and resubmitted my credentials.

The app still works fine.

关于ios - 在 facebook 中出现此错误 (com.facebook.error.2 ),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21949992/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com