title: Facebook javascript api calls stopped being sent
body: <p>We have a website using Facebook login. 4 days ago, without performing any change, the login button stopped functioning.</p>
  
  <p>The call to FB.init works well using:</p>
  
  <pre><code>function initFB() {
      FB.init({
          appId: ufm_config.fbAppId,
          cookie: true,
          oauth: true,
          xfbml: true,
          logging: true,
          autoLogAppEvents: true,
          frictionlessRequests: true,
          status: true,
          version: 'v2.12'
      });
  
      FB.getLoginStatus(fbConnectionChanged);
      FB.Event.subscribe("auth.login", fbConnectionChanged);
      FB.Event.subscribe('auth.authResponseChange', fbConnectionChanged);
      FB.Event.subscribe("auth.logout", fbConnectionChanged);
  }
  </code></pre>
  
  <p>The call to getLoginStatus(fbConnectionChanged) also works and the callback are being fired.</p>
  
  <p>After The page is loaded the user can click on the Facebook login button, when he does we call to FB.Login(fbConnectionChanged). I can see the call being added to the "calls" array in the Facebook sdk code but the callback is not being fired.</p>
  
  <p>When I click again on the button I see the "calls" array still contains the previous login request, and now the second request is just being added there. All the calls are just being stuck there:</p>
  
  <p>f.__buffer.calls.push([a, Array.prototype.slice.call(arguments)])</p>
  
  <p>Even if I change the FB.Login(fbConnectionChanged) call to FB.getLoginStatus(fbConnectionChanged) instead, I get the same behaviour, so its not just the login call itself.</p>
  
  <p>We didn't change anything in the Facebook App also, and the site is configured in the "Valid OAuth Redirect URIs".</p>
  
  <p>What else can I try to do to solve it?</p>
  
  <h2>UPDATE:</h2>
  
  <p>When I call FB.login() from the console it works fine. Couldn't understand why it doesn't work on the button click function yet.</p>