简体   繁体   English

安装Facebook应用后,Facebook登录中断

[英]Facebook login breaks when Facebook app is installed

I'm building an Android app that allows the user to log in with his facebook account. 我正在构建一个Android应用,允许用户使用其Facebook帐户登录。 I followed the official tutorial and got it working perfectly. 我遵循了官方教程,并使其正常运行。 That is untill I installed the facebook app on my phone. 直到我在手机上安装了Facebook应用程序。 When I try to log in and I press "log in with facebook" button I get a screen switch for half a second and then I get back to my login screen where I was before. 当我尝试登录并按“使用Facebook登录”按钮时,屏幕切换了半秒钟,然后返回到以前的登录屏幕。

If I uninstall the app everythings works again. 如果我卸载该应用,一切将再次正常运行。 I believe the app is interfearing but I don't know how to handle it, I have found no one with my same problem. 我认为该应用程序令人生厌,但我不知道该如何处理,我没有人遇到同样的问题。

I follow the official tutorial step by step, I have a main activity with a fragment containing a button. 我逐步按照官方教程进行操作,我有一个主要活动,其中包含一个包含按钮的片段。 Usually if you click the button the facebook login screen pops up and you're able to enter your credential. 通常,如果您单击按钮,则会弹出Facebook登录屏幕,并且您可以输入凭据。

Anyone know how to handle this? 有人知道如何处理吗?

Do you add you application package and hash to Android facebook app on developers.facebook.com ? 您是否将应用程序包添加并哈希到developers.facebook.com上的Android facebook应用程序? If you login using SDK UI, not installed Facebook app - key does not checked. 如果使用SDK UI登录,则未安装Facebook应用-未选中密钥。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Ionic 4:安装本机 facebook 应用程序时,使用 android 登录 facebook 失败 - Ionic 4: failed facebook login with android when the native facebook app is installed Facebook应用程序安装在android中的Facebook登录问题 - Facebook Login issue when facebook app is installed in android 安装Facebook应用程序时,apportable facebook登录错误 - apportable facebook login error when facebook app is installed 在设备上安装 Facebook 应用程序时出现 Facebook 登录错误 - Facebook Login Error When Facebook App Is Installed On Device 安装Facebook应用程序后无法实现Facebook登录 - Facebook login cannot be achieved when facebook app is installed 安装 Facebook 应用程序时 Facebook 登录崩溃 - Facebook login crashing while Facebook app is installed 没有安装Facebook应用的Facebook登录片段 - Facebook login in fragment without Facebook app installed Android facebook 登录不适用于已安装的 Facebook 应用程序 - Android facebook login not working with installed Facebook app 安装了Facebook应用程序后,Facebook登录失败 - Facebook login fails with facebook app installed android:使用facebook sdk 3登录facebook,未安装facebook应用 - android : facebook login using facebook sdk 3 with no facebook app installed
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM