Facebook Javascript Sdk - Getloginstatus Always Returns Unknown
I am creating the application that will aggregate data from different social network profiles. So I have created an interface where client can choose which social network profile w
Solution 1:
Looks that the problem was not on my side since it fixed with no code changes. The problem is that I once used FB.logout() and instead of just logging me out of the app Facebook just considered me as logged out.
Logging me back in did not change a thing. I have cleared all cookies from browser and did a re-login and problem ceased to exist.
For disconnecting user from application I do not use FB.logout() instead I revoke privileges with
FB.api("/me/permissions", "delete", logoutCallback);
Now everything works like it should... But to me this looks like an issue with SDK...
Post a Comment for "Facebook Javascript Sdk - Getloginstatus Always Returns Unknown"