How I logged out of Facebook from website but my Facebook account on Facebook page still login? [duplicate]

断了今生、忘了曾经 提交于 2019-12-11 22:25:06

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!