Android的Facebook的API - 无效的关键问题 [英] Android Facebook API - Invalid key problems

查看:191
本文介绍了Android的Facebook的API - 无效的关键问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想实现的Facebook进入我的Andr​​oid应用程序。

I am trying to implement Facebook into my Android app.

每当不过,Facebook的东西,失败的原因为无效键的错误,虽然我已经通过设立FB上的应用程序,并获得通过密钥工具的密钥等步骤。

Everytime though, the facebook stuff fails because of an "Invalid key" error although I've been through the steps of setting up an app on FB and getting the key via keytool and so on.

有没有什么想法,我可以尝试修复它? 这是正常的散列code有诸如/或它'='符号?

Is there any ideas I can try to fix it ? Is it normal for a hash code to have symbols such as '/' or '=' in it?

推荐答案

杰米,你必须已经安装在设备中的apk文件签字时,一定要使用相同的密钥库签署您的应用程序,并获得了关键的哈希值。 是的你的密钥散列将包含'/'或'='我。

Jamie, you must have installed your .apk signed in your device, be sure to use the same keystore to sign your app and to get the Key hash. and yes your key Hash will contain '/' or '=' i.

这篇关于Android的Facebook的API - 无效的关键问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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