title: Why FB.getLoginStatus doesn't work in IE7?
body: <p>I am using <code>FB.getLoginStatus</code> for an application in Facebook. This works fine in all the browsers, including IE8. But it doesn't work for IE7. My code is:</p>
  
  <pre class="lang-js prettyprint-override"><code>       FB.getLoginStatus(function(response) {              
             if (response.session) {
                alert("logout");
              }
              else{
                  FB.Event.subscribe('auth.login', function(response) {
                      login();
                  });
                alert("login");
              }
          });
  </code></pre>
  
  <p>Does anyone know why?</p>