title: The method FB.getLoginStatus can no longer be called from http pages
body: <p>So I tried to implement Facebook Login feature in my nodejs backend server. For testing purpose, I am trying client side to check the login and get access token. For that, I followed the docs and it says to use Javascript SDK and I followed the procedure, but there is a problem. </p>
  
  <pre><code>window.fbAsyncInit = function() {
      FB.init({
        appId            : '##############',
        autoLogAppEvents : true,
        xfbml            : true,
        version          : 'v4.0'
      })
  
  
      FB.getLoginStatus(function(response) {
          statusChangeCallback(response);
      });
  
    }
  </code></pre>
  
  <p>This is the code where I want to get the user login status, but I get an error saying: </p>
  
  <pre><code>The method FB.getLoginStatus can no longer be called from http pages
  </code></pre>
  
  <p>I am very much aware about the production rules, but this is development mode I am working on and still getting the error. Anything I am missing? Anything I have to do? I am running it on localhost and getting the error. </p>