加载后Facebook的登录对话框很快消失 [英] facebook login dialog disappears soon after loading

查看:159
本文介绍了加载后Facebook的登录对话框很快消失的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在我的应用程序中实现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.

这篇关于加载后Facebook的登录对话框很快消失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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