facebook登录不能在不同的电脑上建立 [英] facebook login doesnot work on building on different pc
问题描述
我克隆了同一个存储库并在我的电脑上构建了应用程序。没有构建错误。但登录不起作用,即重定向到默认登录页面。在我的电脑上可能发生了什么?
您需要从您的电脑中生成keyhash,并将其添加到您已经创建了Facebook应用程序的开发者Facebook。所以一个是你的朋友的电脑钥匙哈希,一个是你的电脑的keyhash.so你将会在Facebook上登录你的电脑。
遵循这个链接如何创建Facebook密钥哈希从您的电脑创建新的Facebook键盘。
I'm facing a weird problem with Facebook login for Android. I have sucessfully implemented the login to Facebook for my application and it is working well when I build it from my friend's PC.
I cloned the same repository and build the app on my PC. There were no build errors. But the login does not work, i.e., it redirects to the default login page. What could have possibly happened on my PC?
You need to generate keyhash from your pc and add it to developers facebook where you have created your facebook app. so one is your friends pc key hash and one is of your pc's keyhash.so you will get working with facebook login in your pc also.
follow this link How to create a Facebook key hash? to create new facebook keyhash from your pc.
这篇关于facebook登录不能在不同的电脑上建立的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!