[英]Facebook integration in android is not working when Facebook app is already installed
I have integrated Facebook sdk in my android application. 我在我的Android应用程序中集成了Facebook sdk。 It works fine when I run it in the emulator which is not having Facebook app. 当我在没有Facebook应用程序的模拟器中运行它时,它工作正常。 It properly allows me to login but when I tried it in emulator and real device having Facebook app it just shows progress bar but does not login/logout. 它正确地允许我登录但是当我在模拟器和具有Facebook应用程序的真实设备中尝试它时它只显示进度条但不登录/注销。
The most likely cause is that you didn't put in the right key hash in your app settings. 最可能的原因是您没有在应用设置中输入正确的密钥哈希值。 Follow the getting started guide or use the quickstart guide to get the right key hash setup. 按照入门指南或使用快速入门指南获取正确的密钥哈希设置。
https://developers.facebook.com/quickstarts/?platform=android https://developers.facebook.com/quickstarts/?platform=android
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.