facebook api在android上:空白屏幕而不是auth [英] facebook api on android: blank screen instead of auth

查看:112
本文介绍了facebook api在android上:空白屏幕而不是auth的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经搜索过去3个小时以获得关于这个问题的答案,类似的问题没有帮助,所以我最后问了一个问题:

I've searched for the past 3 hours for answers regarding this problem, and similar questions did not help, so I'm finally asking the question:

我我试图使用Facebook的SDK for Android,而且我正在获得一个空白的屏幕(有一个框架,但是您期望的授权详细信息,而不是获得空白):

I'm trying to use Facebook's SDK for Android, and I'm getting a "blank" screen (there's a frame around it, but where you'd expect the authorization details I'm instead getting white space):

点击登录给出相同的页面,只有标题现在是错误含有含糊的消息:

Clicking "Log In" gives the same page, only the title is now "Error" with a vague message:

>


  • 我检查过哈希键是对的我已将哈希键更改为荒谬的asdf,日志确实表示应用程序正在使用 [某些键] 而不匹配。所以我用 [some key] 替换了asdf,那个错误就消失了。 (另外,上面的页面甚至不会出现在不正确的哈希键的情况下,它只是立即结束验证过程。)

  • I've checked that the hash key is right. I've changed the hash key to something absurd like "asdf" and the log indeed says that the application is using [some key] and isn't matching. So I replaced "asdf" with [some key] and that error went away. (Additionally, the page above doesn't even show up in the case of incorrect hash keys, it just ends the auth process immediately.)

检查日期和时间设置是否正确,所以至少SSL不会破坏。我没有在logcat中看到任何相关的错误或警告。

I've checked that date and time settings are correct, so at least SSL isn't breaking with respect to that. I don't see any related errors or warnings in logcat, either.

我确实发现解决方案但这似乎过时了。 (和它不工作。)

I did find an existing question (no real answers) and the linked solution but that seems outdated. (And it doesn't work.)

我正在按照 https://developers.facebook.com/docs/mobile/android/build/#enablesso 字词,在这一点上,我不知道如何调试这个日志中没有错误或警告。有没有人看过这个错误?

I'm following the FB tutorial at https://developers.facebook.com/docs/mobile/android/build/#enablesso word for word, and at this point I have no idea how to debug this with no errors or warnings in the log. Has anybody else seen this bug before?

(我使用Android API 15和最新的github克隆FB API。)

(I'm using Android API 15 with the latest clone of the github for the FB API.)

推荐答案

我有同样的问题,使用Titanium手机开发onorid,并使用webview或使用SSO给出相同的结果。

I have the same issue using Titanium mobile development on andorid and both using a webview or using SSO give the same result.

编辑:一个错误已经提交,请注册它:
https://developers.facebook.com/bugs/385350798163367?browse=search_4f8ed4596fd900857644164

A bug has been filed so please sign up to it as well: https://developers.facebook.com/bugs/385350798163367?browse=search_4f8ed4596fd900857644164

这篇关于facebook api在android上:空白屏幕而不是auth的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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