fb ログインをテストするためのサンプル html ファイルを作成しています。Facebook 開発者ページのコードを次のように使用しましたが、FB.getLoginStatus を呼び出すことができません。私のFacebookアプリの設定では、サンドボックスモードがNOで、ランダムなサイトURLを入れています:
    <!DOCTYPE html>
<html>
  <head>
    <title>Example</title>
  </head>
  <body>
<div id="fb-root"></div>
<script>
  window.fbAsyncInit = function() {
    // init the FB JS SDK
    FB.init({
      appId      : 'MYAPPID', // App ID from the App Dashboard
      status     : true, // check the login status upon init?
      cookie     : true, // set sessions cookies to allow your server to access the session?
      xfbml      : true  // parse XFBML tags on this page?
    });
    // Additional initialization code such as adding Event Listeners goes here
    FB.getLoginStatus(function(stsResp) {
        alert('get login status callback!');
    });
  };
  // Load the SDK's source 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));
</script>
  </body>
</html>