I am using the Facebook PHP sdk, and after the user logs in, I show a link for the logout URL using $facebook->getLogoutUrl().
But when the user clicks on that link, it seems to go to Facebook and redirect right back to my main index.php at which point the user still seems to have been logged in, because $facebook->getUser(); returns a valid user.
How do I actually fully log the user out?