title: Facebook Logout too slow?
body: <p>When the user clicks Logout, I trigger FB.logout() and redirect the user to the homepage.</p>
  
  <p>However the homepage still thinks the user is logged in to facebook, so it redirects again to somewhere else. After the second redirect it realizes the user is logged out, but it's too late.</p>
  
  <pre><code>&lt;a href="index.php" onclick="FB.logout();"&gt;Logout&lt;/a&gt;
  </code></pre>
  
  <p>index.php:</p>
  
  <pre><code>FB.Event.subscribe('auth.login', function(response) {
    window.location.href='login_facebook.php?action=login';
  });
  </code></pre>