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
精彩评论