配置应用程序,Facebook的错误:"应用程序的配置是错误的Facebook登录.."应用程序、错误、Facebook、QUOT

2023-09-04 07:37:27 作者:兜兜里藏着糖

可能重复:   App配置错误的Facebook登录:Android的Facebook的整合问题

我想给Facebook融入我的应用程序。当我preSS登录按钮并填写电子邮件和密码,我发现了一个错误,在应用程序说:

I'm trying to integrate facebook into my app. When I press the login button and filling the email and password, I'm getting an error in the app saying : "

应用程序配置错误的Facebook登录。

App is misconfigured for Facebook login..

然后我不得不preSS好按钮,它关闭。

" and then I have to press "Okay" button and it closes.

我已经填补了我的Facebook应用程序领域,这里有一个画面:

I have already filled the fields in my facebook app, here's a picture:

此外,在logcat的时候我preSS的登录按钮(我创建的按钮,弹出Facebook登录)。我看到了以下错误:

Also, in the logcat when I press the "login" button (the button the I created that pops the facebook login). I see the following error:

无法找到com.facebook.katana.AttributionIdProvider提供商信息

Failed to find provider info for com.facebook.katana.AttributionIdProvider

为什么Facebook登录不工作呢?

Why the facebook login isn't working as well?

编辑:之后我preSS的好按钮,logcat的没有抛出任何错误

After I press the Okay button, the logcat doesn't throw any error.

推荐答案

我前几天得到了同样的错误,在我的情况下,它是由于Android的关键不匹配。 这是我如何修复它,如果它可以帮助ü过,

I got the same error a few days ago, in my case it was due to android key mismatch. here is how i fixed it if it may help u too,

打开Util.java在Facebook的SDK, 设置私有静态布尔ENABLE_LOG = TRUE; 现在运行你的应用程序,并输入您的电子邮件ID和密码,Facebook的发回的签名,如果有一个关键的不匹配。你会发现这个键(签字)在logcat中。只需复制此密钥并将其粘贴到应用程序仪表板。 这应该解决这个问题。 记得设置私有静态布尔ENABLE_LOG = TRUE;回false

Open Util.java in facebook sdk, set private static boolean ENABLE_LOG=true; now run your app and enter the your email id and password,facebook sends back a signature if there's a key mismatch. you'll find this key(signature) in logcat. Just copy this key and paste it in app dashboard. That should fix the problem. Remember to set private static boolean ENABLE_LOG=true; back to false