$facebook->getLogoutUrl(); link doesn't log user out of facebook
问题 My current user story is that user1 is logged into my website and facebook (these accounts are connected etc). User1 logs out of my site but not facebook. After this user2 logs into his account, but the left over session from user1 screws with user2's interaction with my site and who they post as. So to fix this I made it check if the user who is logged in actually owns the currently logged in facebook (this would result in them going to facebook log out etc) and it shows a link that should