i have created my facebook application,i use $this->facebook->getLogoutUrl();
to logout a user,but it will causes facebook.com logout too..
so any idea to prevent this?
i have created my facebook application,i use $this->facebook->getLogoutUrl();
to logout a user,but it will causes facebook.com logout too..
so any idea to prevent this?
Actually there is a problem in new version of PHP Sdk, and
$facebook->getLogoutUrl();
not working,
you can try it to set other file logout.php in that you have to start session and then destroy it..
logout.php
session_start();
session_destroy();
it's working, i use it.
Maybe try to search and read similar threads?
Facebook Oauth Logout
Facebook php SDK getLogoutUrl() problem
Because afaik you