FB.getLoginStatus always returns status='unknown'

前端 未结 3 1883
醉酒成梦
醉酒成梦 2021-01-15 08:36

If I am logged into facebook.com, I expect a call to FB.getLoginStatus will return a status=\'not_authorized\'. Instead it returns status=\'unknown\', even if I pass true fo

3条回答
  •  青春惊慌失措
    2021-01-15 08:57

    I had similar issue, even when the 3rd party cookie is not disabled. What I did to bypass is: if I get 'unknown' response, I will call FB.login and inside that call the FB.loginStatus again. This time, FB returned correct value.

提交回复
热议问题