title: How do I perform a Facebook logout when third party cookies are disabled?
body: <p>I have a logout page on my site, which looks something like this: </p>
  
  <pre><code>&lt;div id="fb-root"&gt;&lt;/div&gt;
      &lt;script&gt;
        // Load the Facebook SDK Asynchronously
        (function(d){
           var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0];
           if (d.getElementById(id)) {return;}
           js = d.createElement('script'); js.id = id; js.async = true;
           js.src = "//connect.facebook.net/en_US/all.js";
           ref.parentNode.insertBefore(js, ref);
         }(document));
  
        // Init the SDK upon load
        window.fbAsyncInit = function() {
          FB.init({
            appId      : '[valid_app_id]' // App ID
          });
          FB.getLoginStatus(function(loginResponse){
            // As soon as we get the login status... log out!
              FB.logout(function(logoutResponse) {
              // logged out!
            }); 
          });
        } 
      &lt;/script&gt;
  </code></pre>
  
  <p>The page functions perfectly well when accessed from a vanilla Chrome browser. However, if the </p>
  
  <pre><code>[x]Block third-party cookies and site data
  </code></pre>
  
  <p>option is checked under "Content settings..." for chrome, the page fails to logout users, and reports </p>
  
  <pre><code>FB.logout() called without an access token.
  </code></pre>
  
  <p>Is there a workaround to this problem? I'd like to be able to log users out, even when they have stricter-than-usual security settings.</p>