title: Log out facebook when user doesn't give permission
body: <p>My app (facebook-php) uploads images to the user's wall, and to a page. Everything works fine, even logging out after uploading.</p>
  
  <p>There is a problem when the user logs in with his email and pw, and then presses cancel when asked for permission to get birthday etc. This moment, the user is logged in, but I can't make a valid logout link </p>
  
  <pre><code>$params = array( 'next' =&gt; 'http://localhost/index.php' );
  $facebook-&gt;getLogoutUrl($params);
  </code></pre>
  
  <p>(access_token is "0"). </p>
  
  <p>The only way to logout is to go to facebook.com and click logout. Is there another way I can logout the user?</p>