人们已成功下载我的alpha阶段应用并使用Facebook登录。我刚刚公开发布它,现在人们正在登录错误。我是否需要更改任何与我的应用程序密钥或哈希密钥相关的内容,而不是在alpha阶段?
答案 0 :(得分:0)
我遇到了同样的问题。关于哈希键,当你签署一个应用程序时,哈希键是不同的。 您可以看到错误,从市场安装您的应用程序并从Facebook查看日志,您可以看到来自hashkey的错误。
例如,首先从Play商店安装您的应用程序,然后在您尝试使用Facebook登录时连接您的cel并查看日志,您可以看到下一个错误:
07-20 13:07:04.016: W/fb4a(:<default>):BlueServiceQueue(15513): Exception during service
07-20 13:07:04.016: W/fb4a(:<default>):BlueServiceQueue(15513): com.facebook.http.protocol.ApiException: Key hash YDJyZb3zqAYTsk5QiyGsrtNEEvRI does not match any stored key hashes.
07-20 13:07:04.016: W/fb4a(:<default>):BlueServiceQueue(15513): at com.facebook.http.protocol.ApiResponseChecker.b(ApiResponseChecker.java:82)
07-20 13:07:04.016: W/fb4a(:<default>):BlueServiceQueue(15513): at com.facebook.http.protocol.ApiResponseChecker.a(ApiResponseChecker.java:161)
07-20 13:07:04.016: W/fb4a(:<default>):BlueServiceQueue(15513): at com.facebook.http.protocol.ApiResponse.g(ApiResponse.java:151)
07-20 13:07:04.016: W/fb4a(:<default>):BlueServiceQueue(15513): at com.facebook.platform.auth.server.AuthorizeAppMethod.a(AuthorizeAppMethod.java:275)
07-20 13:07:04.016: W/fb4a(:<default>):BlueServiceQueue(15513): at com.facebook.platform.auth.server.AuthorizeAppMethod.a(AuthorizeAppMethod.java:31)
07-20 13:07:04.016: W/fb4a(:<default>):BlueServiceQueue(15513): at com.facebook.http.protocol.ApiResponseHandler.a(ApiResponseHandler.java:55)
07-20 13:07:04.016: W/fb4a(:<default>):BlueServiceQueue(15513): at com.facebook.http.protocol.ApiResponseHandler.handleResponse(ApiResponseHandler.java:28)
07-20 13:07:04.016: W/fb4a(:<default>):BlueServiceQueue(15513): at com.facebook.http.common.FbHttpRequestProcessor.a(FbHttpRequestProcessor.java:312)
07-20 13:07:04.016: W/fb4a(:<default>):BlueServiceQueue(15513): at com.facebook.http.common.FbHttpRequestProcessor.a(FbHttpRequestProcessor.java:142)
07-20 13:07:04.016: W/fb4a(:<default>):BlueServiceQueue(15513): at com.facebook.http.common.FbHttpRequestProcessor.b(FbHttpRequestProcessor.java:98)
07-20 13:07:04.016: W/fb4a(:<default>):BlueServiceQueue(15513): at com.facebook.http.common.FbHttpRequestProcessor.a(FbHttpRequestProcessor.java:228)
07-20 13:07:04.016: W/fb4a(:<default>):BlueServiceQueue(15513): at com.facebook.http.protocol.SingleMethodRunnerImpl.a(SingleMethodRunnerImpl.java:436)
07-20 13:07:04.016: W/fb4a(:<default>):BlueServiceQueue(15513): at com.facebook.http.protocol.SingleMethodRunnerImpl.a(SingleMethodRunnerImpl.java:198)
07-20 13:07:04.016: W/fb4a(:<default>):BlueServiceQueue(15513): at com.facebook.http.protocol.AbstractSingleMethodRunner.a(AbstractSingleMethodRunner.java:20)
07-20 13:07:04.016: W/fb4a(:<default>):BlueServiceQueue(15513): at com.facebook.platform.common.server.SimplePlatformOperation.a(SimplePlatformOperation.java:40)
07-20 13:07:04.016: W/fb4a(:<default>):BlueServiceQueue(15513): at com.facebook.platform.common.server.PlatformOperationHandler.a(PlatformOperationHandler.java:60)
07-20 13:07:04.016: W/fb4a(:<default>):BlueServiceQueue(15513): at com.facebook.fbservice.service.BlueServiceQueue.e(BlueServiceQueue.java:361)
07-20 13:07:04.016: W/fb4a(:<default>):BlueServiceQueue(15513): at com.facebook.fbservice.service.BlueServiceQueue.d(BlueServiceQueue.java:58)
07-20 13:07:04.016: W/fb4a(:<default>):BlueServiceQueue(15513): at com.facebook.fbservice.service.BlueServiceQueue$3.run(BlueServiceQueue.java:280)
如您所见,您需要添加密钥YDJyZb3zqAYTsk5QiyGsrtNEEvRI =(您需要在末尾添加“=”)。