问题
I use Login Facebook SDK PHP. Everything works well. But now I get trouble with getLogoutUrl. When I logout of my website, my Facebook account on Facebook is being logged out too.
That means after I logout Facebook from my website, if I login again on my website the login screen with my email and password is appear instead of a normal screen as I expect.
self::$logoutUrl = self::$helper->getLogoutUrl(self::$session, 'http://'.$serverName.'/customer/logout/' );
How I still not log out of Facebook when I logout Facebook from my website?
回答1:
First please clear your logic..
1) You are using your facebook acount to login to your website, then it means if a user have a F.B account then it login. 2) if you are facebook to login then it is ofcurse that when you logout from your website then you will also from facebook...
回答2:
Logging out from Facebook connect website effectively logs you out of Facebook as well.
来源:https://stackoverflow.com/questions/25482684/how-i-logged-out-of-facebook-from-website-but-my-facebook-account-on-facebook-pa