#GooglePlay 谷歌商店下载的应用登录Facebook报错:invalid key hash
source link: https://xmanyou.com/facebook-login-failed-with-invalid-key-hash-for-app-downloaded-from-google-play/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
#GooglePlay 谷歌商店下载的应用登录Facebook报错:invalid key hash
最近在接入Facebook登录SDK,开发环境下测试正常,发布到谷歌商店后,下载测试时,遇到了奇怪的问题的错误:
Invalid key hash. The key hash xxxxxxxx does not match any stored key hashes. Configure your app key hashes at https://developers.facebook.com/apps/xxxxx
明明已经按照Facebook的SDK接入流程进行了接入和测试,并且也添加了发布证书的key hash,为什么又冒出来一个新的未知的key hash呢?
原来,打出来的应用包(不管是aab还是apk)上传到Google Play后台后,会被重新签名,而这个签名证书的hash值没有注册到Facebook后台。
获取该证书的hash值的方法:
- 1). 下载证书
- 2). 执行以下命令,获取hash值
openssl dgst -sha1 -binary <GooglePlay的发布证书>.der | openssl base64
- 3). 到Facebook后台注册
阿斌
Read more posts by this author.
扫一扫关注微信公众号:耿直的IT男阿斌
聊一聊IT男眼中的世界
Recommend
-
52
-
90
谷歌Play Store应用商店将推有声读物商店
-
72
-
34
图片来源图虫:已授站长之家使用 新浪科技讯 北京时间 12 月 19 日上午消息,据美国科技媒体ZDNet报道,谷歌近日宣布将对购买评级和评论欺骗用户...
-
26
Android - @BuilderQiu - 应用 Tab 下面,游戏 or 应用超过 2$可用
-
4
googlePlay 找不到发布的应用 布初次上架googlePlay 很容易遇到...
-
4
恶意软件竟被上架谷歌商店,下载次数甚至超200万次-51CTO.COM 恶意软件竟被上架谷歌商店,下载次数甚至超200万次 作者:大白haha 2022-06-15 15:13:13
-
9
恶意应用程序上架谷歌商店,下载竟超1000万次-51CTO.COM 恶意应用程序上架谷歌商店,下载竟超1000万次 作者:大白haha 2022-07-27 15:22:54
-
9
图文详解Google play谷歌商店安装及账号注册安卓手机安装谷歌商店,首先需要安装谷歌三件套,安卓手机包括国产的华为手机,荣耀手机,小米手机,红...
-
4
Question Scrolling screenshot don't work on GooglePlay ...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK