title: FB.logout() called without an access token. javascript sdk
body: <p>Totally lost on this and <a href="https://developers.facebook.com/docs/reference/javascript/FB.logout/" rel="noreferrer">docs</a> don't really give any insight on this...</p>
  
  <p>Using the Facebook Javascript SDK in my app with this login button code:</p>
  
  <pre><code>&lt;fb:login-button scope="manage_pages,read_insights,ads_management" autologoutlink="true" size="large"&gt;&lt;/fb:login-button&gt;
  </code></pre>
  
  <p>As per the docs, <code>autologoutlink=true</code> param turns the <code>login</code> button to <code>log out</code> once the user is logged in. <strong>I want to keep this functionality and not write my own button code</strong></p>
  
  <p>This event calls <code>FB.logout</code> but still returns the error message in the callback</p>
  
  <pre><code>FB.Event.subscribe('auth.logout', function(response) {                                              
      FB.logout(function(response) {
          // FB.logout() called without an access token.
      });
  });
  </code></pre>
  
  <p>I would like to use the Facebook Login Widget and not my own button for login, so the other answers on the same subject don't help. I don't understand how I'm supposed to pass the access_token to prove I'm authorized to logout...</p>