title: FB.getLoginStatus() called before calling FB.init() error
body: <p>I'm trying to get the current user login status via javascript sdk but I get the following error:</p>
  
  <blockquote>
    <p>FB.getLoginStatus() called before calling FB.init()</p>
  </blockquote>
  
  <p>Here is my code:</p>
  
  <pre><code>&lt;div id="fb-root"&gt;&lt;/div&gt;
  &lt;script&gt;
    window.fbAsyncInit = function() {
      FB.init({
        appId      : '000000000000000000', // App ID
        status     : true, // check login status
        cookie     : true, // enable cookies to allow the server to access the session
        xfbml      : true  // parse XFBML
      });
  
          console.log(FB.getLoginStatus); //THIS DOESN'T WORK!!
  
    };
  
    // Load the 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));
  &lt;/script&gt;
  </code></pre>
  
  <p>Any ideas?</p>