title: Facebook permissions in IE Causing infinite facebook loop
body: <p>I am trying to get permissions for a facebook app I am making, but every time I try to run the app in IE8 I cannot get the permissions box to show up. I have tested the app in firefox and it can open fine, and get all the permissions fine (i dont ask for any special ones). </p>
  
  <p>When I run the debugger in IE8 I see that once the program hits <code>FB.getLoginStatus(function (response) {</code> (see code below) it then moves into an infinite loop of code written by facebook. </p>
  
  <p>I think the issue is because of how I am making the permissions call. I have a form that I use for a login that will call the permissions method once the user attempts to login to the site. Here is the form and button in the form I use:</p>
  
  <pre><code>&lt;form id = "membershipInfo" method = "post" action = "Login.aspx"&gt;
  &lt;input type = "button" id = "submitInfo" class = "MemberInfo" value = "Take Me There!" onclick = "authorize(acceptPermissions, rejectPermissions)"/&gt;
  </code></pre>
  
  <p>And here is the auth method I use:</p>
  
  <pre><code>function authorize(successCallback, failureCallback) {
  FB.getLoginStatus(function (response) {
     //****** DOES NOT MAKE IT PAST HERE *******//
      if (response.session) {
          // logged in and connected user, carry on
          session = response.session;
          //Set access token
          accessToken = response.session.access_token;
          //Call success callback
          successCallback();
      } else {
          // no user session available, Lets ask for perms
          FB.ui(
          {
              method: 'permissions.request',
              perms: permissionString //(equals "" )
          },
          function (response) {
              if (response &amp;&amp; response.session != null) {
                  //Get session
                  session = response.session;
                  //Set access token
                  accessToken = response.session.access_token;
                  //Call success callback
                  successCallback();
              } else {
                  //Call failure callback
                  failureCallback();
              }
          });
      }
  });
  </code></pre>
  
  <p>When the user accepts permissions they get moved into a success callback method which is here (never makes it this far):</p>
  
  <pre><code>function acceptPermissions() {
      //Code done before moving on
      $('#submitInfo').submit();
  }
  </code></pre>
  
  <p>Anyone see any issues?</p>