title: Facebook OAuth redirect_uri problem 'Given URL is not permitted by the application configuration.'
body: <p>When asking for authorisation by redirecting to the following url:</p>
  
  <pre><code>https://graph.facebook.com/oauth/authorize?client_id=...&amp;scope=email,offline_access&amp;redirect_uri=http%3A%2F%2Flocalhost%2Flogin%2Findex.php%3Fcallback%3Dfacebook
  </code></pre>
  
  <p>Facebook returns 'Invalid redirect_uri Given URL is not permitted by the application configuration.'</p>
  
  <p>Possibly because my application is registered with <a href="http://syncacity.com" rel="noreferrer"><a href="http://syncacity.com" rel="noreferrer">http://syncacity.com</a></a> on the application configuration. But still, twitter allows me to redirect to any url, so why is facebook whining?</p>
  
  <p>I'd appreciate your thoughts :)</p>