(#404)Keyhash XXXXXX与任何存储的密钥哈希不匹配“ [英] Android Facebook SDK : "(# 404) Keyhash XXXXXX does not match any stored key hashes"

查看:342
本文介绍了(#404)Keyhash XXXXXX与任何存储的密钥哈希不匹配“的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试Android应用程序的Facebook集成。我是新来的。

I am trying Android Facebook integration for an app. I am new to this.

我有Facebook SDK&我试图从那里运行几个样本。当我运行样本我得到这个错误(#404)Keyhash XXXXXX不匹配任何存储的密钥哈希。

I have got the Facebook SDK & I am trying to run a few samples from there. When I run the samples I get this error " (# 404) Keyhash XXXXXX does not match any stored key hashes ".

XXXXXX可能是我的键盘,我做了一些基本搜索关于它是什么。我阅读了,并将XXXXXX值与Java Keytool进行了比较。从我的机器。有这些数字的匹配。

The XXXXXX is probably my keyhash, I did some basic search about what it is. I read this and I compared the XXXXXX value with the Java Keytool.exe from my machine. There was a match with these numbers.

我必须让这个工作 - 我觉得我必须添加到Facebook开发者网站的某个地方。有人可以告诉我,如果这是正确的&还怎么做或者我的方法也可能是错误的,如果你能指导我正确的方法。这将是有帮助的。

I have to get this working - I feel I have to add this somewhere on Facebook developer site. Can someone tell me if thats correct & also how to do it. OR my approach may be wrong too, if you can guide me to the correct approach. That will be helpful.

谢谢!

推荐答案

假设你知道如何创建哈希密钥,我建议您按照以下步骤在您的应用程序的 FaceBook 开发者控制台中添加一个哈希键,

Assuming that you know how to create a hash key, I suggest you to follow the below steps to add a hash key in FaceBook developer console of your app,

1。创建应用后,点击左侧面板中的设置。

1. After creating a app, click on settings from the left side panel.

2。

2. Select add platform.

3。从弹出窗口中选择Android作为平台。

3. From the pop up, select Android as your platform.

4。您可以在其中找到输入包名称,类名和散列键的字段。

4. There you will find fields to enter Package Name, Class Name, and hash Keys.

5。填写相应的字段。您也可以输入多个哈希键。

5. Fill up the respective fields.You can enter many hash keys as well.

注意:如果输入错误的哈希密钥,那么它会再次显示相同的错误。

Note : If you enter wrong hash key, then it will show you the same error again.

希望它有帮助。

这篇关于(#404)Keyhash XXXXXX与任何存储的密钥哈希不匹配“的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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