I\'m using https://github.com/pocesar/facebook-kohana for facebook login. I have problem with facebook logout. It doesn\'t destroy facebook session. I\'ve tried
You can get facebook logout url using facebook-php-sdk API. When user will click on that url he will be offline from his facebook account.
if ($user) {
$logoutUrl = $facebook->getLogoutUrl();
} else {
$loginUrl = $facebook->getLoginUrl();
}
For more info you can check this url.
https://github.com/facebookarchive/facebook-php-sdk