开发者

When I logout of facebook (Integrated with my website using OAuth) its logs me out of my website as well?

开发者 https://www.devze.com 2023-04-07 11:57 出处:网络
Whe开发者_开发百科n I try to logout from facebook (which i have integrated with my website!) on my website. It logs me out of my website as well and takes me to login screen! I want to logout only fro

Whe开发者_开发百科n I try to logout from facebook (which i have integrated with my website!) on my website. It logs me out of my website as well and takes me to login screen! I want to logout only from facebook and not from my website as well!

Following is the logout url that is being made by using this

$logoutUrl = $facebook->getLogoutUrl(array('next'=>JURI::base().'index.php?logoutsucc=1'));

https://www.facebook.com/logout.php?next=http%3A%2F%2Fmywebsite.com%2Fdemo%2Findex.php%3Flogoutsucc%3D1&access_token=**********************************

Please any kind of help will be appreciated.

Thanks

0

精彩评论

暂无评论...
验证码 换一张
取 消