加载后Facebook的登录对话框很快消失对话框、加载、Facebook

2023-09-04 09:47:01 作者:柠檬不萌

我已经在我的应用程序中实现FB的它完美地工作在我的三星设备O / S 1.5。然而在HTC的Evo FB的登录对话框加载后很快消失。它停留了几秒钟就消失了。我已经在模拟器2.2测试,它工作正常。

I have implemented FB in my application an it is working perfectly in my samsung device o/s 1.5. However in the HTC Evo the FB login dialog disappears soon after loading. it stays for a couple of seconds and vanishes. i have tested it in the emulator 2.2 and it works fine.

可能是什么行为可能的原因以及如何克服它?

what could be the possible reason of the behavior and how can i overcome it?

刚刚发现它发生在我登录到Facebook的其它应用程序。 然而,在像Photoshop EX preSS应用程序不存在这样的问题。

just found out that it happens when i am logged into facebook in another application. however in applications like photoshop express there is no such issue.

只是我在想什么?

推荐答案

我有同样的问题。这是因为我与官方的Facebook应用程序连接。我从官方的Facebook应用程序断开连接,然后我就能够启动登录对话框。问题是与SSO。

I had the same issue. It was because I was connected with the official Facebook application. I disconnect from the official Facebook application and then I was able to launch the login dialog. The problem is with SSO.

我通过强制登录对话框,而不是SSO传递FORCE_DIALOG_AUTH的授权方法Facebook.java解决了这个问题。

I solved it by forcing the login dialog rather than SSO by passing FORCE_DIALOG_AUTH in the authorize methods in Facebook.java.