Facebook login window appears and disappears very quickly
问题 Recently I've uploaded a piece of code to phpfog and I've come across with a problem which didn't happen locally: When the page loads, it tries to get $idFacebook that is supposed to be set: $idFacebook = $facebook->getUser(); if ($idFacebook) { ... } I'm logged to Facebook, however, the condition fails and the button to login appears: <div class="fb-login-button" data-scope="user_likes,user_photos"></div> The other problem is that when I press the button, it seems that the login window