配置应用程序到Facebook错误:“应用程序配置错误的Facebook登录..” [英] Configuring app to facebook Error : "App is misconfigured for Facebook login.."

查看:1523
本文介绍了配置应用程序到Facebook错误:“应用程序配置错误的Facebook登录..”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


可能重复:

应用程序配置错误,用于Facebook登录:Android Facebook集成问题

我正在尝试将facebook整合到我的应用程序中。当我按登录按钮并填写电子邮件和密码时,我在应用程序中出现错误:

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..


然后我必须按Okay按钮,它关闭。

" 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中,当我按登录按钮(我创建的按钮弹出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?

编辑:之后我按OK按钮,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,

在facebook sdk中打开Util.java,
set private static boolean ENABLE_LOG =真正;
现在运行您的应用程序并输入您的电子邮件ID和密码,如果密钥不匹配,Facebook会发回签名。你会在logcat中找到这个密钥(签名)。只需复制此密钥并将其粘贴到应用程序信息板中。
这应该解决问题。
记住设置private static boolean ENABLE_LOG = true;回到假

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

这篇关于配置应用程序到Facebook错误:“应用程序配置错误的Facebook登录..”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆