[英]Facebook OAuth Dialog only works on the second time
I'm building an android app with phonegap that use Facebook authentication. 我正在使用带Facebook身份验证的phonegap构建一个Android应用程序。 The problem is that when I first click the log-in button, the log-in box appear but after I sign-in, the OAuth Dialog just show "the page you requested was not found".
问题是,当我第一次单击登录按钮时,会出现登录框,但登录后,OAuth对话框只会显示“未找到您请求的页面”。 I have to press "back" button and click the log-in button again then the OAuth Dialog appear everything else is fine.
我必须按下“后退”按钮,然后再次单击登录按钮,然后OAuth对话框出现,其他一切都很好。 Anyone know what is happening?
有人知道发生了什么吗? Thanks.
谢谢。
We had the same problem on iOS and found a workaround. 我们在iOS上遇到了同样的问题,并找到了解决方法。 Our facebook app was configured as Mobile Web .
我们的facebook应用程序配置为Mobile Web 。 We have changed it to Website with Facebook Login (in the basic settings).
我们已将其更改为带有Facebook登录名的网站 (在基本设置中)。 We also enabled the October 2012 Breaking Changes and Events Timezone in the advanced settings.
我们还在高级设置中启用了2012年10月重大变化和事件时区 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.