Facebook PHP-SDK seems to lose userID after page refresh
问题 I've got login in working fine it seems, where I can login, accept the app (the first time) then display user information like name/picture/etc. When I refresh the page however, userid goes back to 0 and I have to login again - I'm not sure what the problem is, I must be reinitiating it every time the page loads or something? I dunno, I'll post some code- it might be tough as they are a bunch of separate files: fb_login.php - <?php require_once("fb_login/facebook.php"); $facebook = new