title: Facebook api does not reload after login
body: <p>Basically, on my website I've added a login button for facebook, and the login works fine. However, you have to refresh once you've logged in to see that you're logged in. I've looked up the problem and the codes provided did not work.</p>
  
  <p>Here is the code that I'm currently using in attempt to refresh the page after a successful login:</p>
  
  <pre><code>FB.Event.subscribe("auth.login", function(response) {
     window.location.reload();
  });
  </code></pre>
  
  <p>Although that should work, it doesn't; it's not even refreshing the page as specified in the code. Here's the code for the Facebook login button:</p>
  
  <pre><code> &lt;fb:login-button perms="email,user_likes,user_photos"&gt;CONNECT Bla Bla&lt;/fb:login-button&gt;
  </code></pre>
  
  <p>Could anybody please suggest some kind of fix as I've been working on this for many hours and it seems somewhat of an inconvenience for users to reload after a login.</p>