Android的Facebook的API - 无效的关键问题 [英] Android Facebook API - Invalid key problems
问题描述
我想实现的Facebook进入我的Android应用程序。
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屋!