I am using the latest facebook php sdk, but i found the method Facebook::getLogoutUrl( $params=array() ) doesn’t work! getUser() always return my userid.
I am using the latest facebook php sdk, but i found the method Facebook::getLogoutUrl(
Share
You can specify redirect url in your logout function and clear Facebook cookie and session after logout redirection, like
and in “your_logout_page.php”,
Hope it helps