title: XD_Proxy popup won't close
body: <p>This is really annoying. I'm using JS SDK to connect to Facebook. And yesterday I tried everything and everything worked fine. But this morning, when I clicked the login button, after I logged in to Facebook, this popup showed up and wouldn't close by itself.</p>
  
  <p><a href="https://s-static.ak.fbcdn.net/connect/xd_proxy.php?version=3#cb=f14545c19c&amp;origin=http%3A%2F%2Flocalhost%2Ff4dcd5fdc&amp;relation=opener&amp;transport=postmessage&amp;frame=f7e77d918&amp;access_token=...&amp;expires_in=6642&amp;signed_request=...&amp;base_domain=localhost" rel="nofollow">https://s-static.ak.fbcdn.net/connect/xd_proxy.php?version=3#cb=f14545c19c&amp;origin=http%3A%2F%2Flocalhost%2Ff4dcd5fdc&amp;relation=opener&amp;transport=postmessage&amp;frame=f7e77d918&amp;access_token=...&amp;expires_in=6642&amp;signed_request=...&amp;base_domain=localhost</a></p>
  
  <p>My script is (stripped down for clarity) :</p>
  
  <pre><code>FB.login(function(response) {
      alert(response.authResponse);
  }, {scope: 'email,user_birthday,publish_stream'});
  </code></pre>
  
  <p>The script runs (it alerts the response), but still the popup won't close. Is it because of recent Facebook updates? Though it's kinda weird that yesterday it worked and now it doesn't. Not to mention my friend's project that also uses JS SDK seems to work fine.</p>
  
  <p>I've tried using other app id, using channelURL, etc but still no luck. Last resort would be using PHP SDK with window.open() for popup, but I still prefer JS solution if any.</p>
  
  <p>Thanks for the answers</p>