FB.getLoginStatus suddenly stopped working on android browser

若如初见. 提交于 2019-12-20 02:34:54

问题


I used to use this code:

FB.getLoginStatus(function(response) {
....
}

But all of a sudden its not working, The callback doesn't fire. Oddly though, only with the android native browser (tested 4.0, 4.1). It works on iPhone, iPad, Chrome & Safari, including Chrome for android. I can't figure out why but its not restricted to my app. For instance I this app built by Sencha is no longer working either (I used it to base my code off):

http://www.sencha.com/apps/jog-with-friends

actual app url (Sencha Jog with friends): http://j.mp/senchajwf

I have gone through a lot of posts on this issue and followed what they instruct but the jog with friends app is built well & includes for instance the fbAsyncInit which can also cause this, but it would cause it on all browsers.

How can I fix this? I'm thinking of just using my own node script to handle fb instead of the js-sdk.

来源:https://stackoverflow.com/questions/15364827/fb-getloginstatus-suddenly-stopped-working-on-android-browser

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!