title: Getting OVERRIDING ACCESS_TOKEN warning on facebook logout button. This started a week ago
body: <p>I'm using login with facebook using <strong>FB javascript SDK 3.3</strong>. When i hit <strong>logout</strong> I'm getting a warning in my console. </p>
  
  <p><em>You are overriding current access token, that means some other app is expecting different access token and you will probably break things. Please consider passing access_token directly to API parameters instead of overriding the global settings.</em></p>
  
  <p><img src="https://i.imgur.com/FRe5Akz.png" alt="console" title="console image"></p>
  
  <p>Here is a dummy react component where i'm testing FB login.</p>
  
  <pre><code>import React, { Component } from 'react'
  import config from "../util/config";
  
  export default class LoginTest extends Component {
    constructor(props) {
      super(props);
      this.state = {
        loggedin: undefined,
        username: "",
      }
    }
  
    componentDidMount() {
      let that = this;
      window.fbAsyncInit = function () {
        window.FB.init({
          appId: config.FB_APP_ID,
          cookie: true,
          xfbml: true,
          version: 'v3.3'
        });
        window.FB.getLoginStatus(function (response) {
          if (response.status === 'connected') {
            that.setState({ loggedin: true, username: response.authResponse.userID })
          }
          else that.setState({ loggedin: false });
        });
      };
  
      (function (d, s, id) {
        var js, fjs = d.getElementsByTagName(s)[0];
        if (d.getElementById(id)) return;
        js = d.createElement(s); js.id = id;
        js.src = "//connect.facebook.net/en_US/sdk.js";
        fjs.parentNode.insertBefore(js, fjs);
      }(document, 'script', 'facebook-jssdk'));
    }
  
    login = () =&gt; {
      let that = this;
      this.setState({ loggedin: undefined });
      window.FB.login(function (response) {
        if (response.status === 'connected') {
          console.log("success", response);
          that.setState({ loggedin: true, username: response.authResponse.userID })
        } else {
          console.log("fail", response);
          that.setState({ loggedin: false, username: "" })
        }
      });
    }
  
    logout = () =&gt; {
      this.setState({ loggedin: undefined });
      let that = this;
      window.FB.logout(function (response) {
        if (response.status !== 'connected') {
          that.setState({ loggedin: false, username: ""});
        } else {
          that.setState({ loggedin: true, username: "" });
        }
      });
    }
  
    render() {
      return (
        &lt;div style={{ margin: "auto", textAlign: "center", marginTop: 200 }}&gt;
          {this.state.loggedin === undefined ?
            &lt;h1&gt;Loading&lt;/h1&gt; : null
          }
          {this.state.loggedin === true ?
            &lt;div&gt;
              &lt;h4&gt;{this.state.username}&lt;/h4&gt;
              &lt;button onClick={this.logout}&gt;logout&lt;/button&gt;
            &lt;/div&gt;
            : null
          }
          {this.state.loggedin === false ?
            &lt;div&gt;
              &lt;button onClick={this.login}&gt;Login&lt;/button&gt;
            &lt;/div&gt; : null
          }
        &lt;/div&gt;
      )
    }
  }
  </code></pre>