Skip to content Skip to sidebar Skip to footer

Getloginstatus Javascript Facebook Disappear When Page Reload

I implement the facebook connect and it works fine. This function return my name after login. FB.getLoginStatus(function (response) { if (response && response.status =

Solution 1:

For anyone reading this page sloppily (as I did), the correct answer was posted as a comment to the question.

The solution is to add cookie: true to the options object in your call to FB.init.

Post a Comment for "Getloginstatus Javascript Facebook Disappear When Page Reload"