When clicking on my logout link, Facebook ignored the "next" parameter, did not logout and redirect to facebook.com/home.php. Why?
Below is my code,
function signout() {
$this->session->sess_destroy();
$this->facebook->destroySession();
redirect($this->facebook->getLogoutUrl(array('next' => base_url())));
}