title: Get user access token on Facebook API
body: <p>I try to get access token on Facebook API. </p>
  
  <p>According to <a href="https://stackoverflow.com/a/9134217/2069858">this answer</a> I need first to build a link <code>https://www.facebook.com/dialog/oauth?client_id=[Your API KEY]&amp;redirect_url=[Service that will handle Authentication]&amp;scope=[Permissions you Need]</code>. In my case it looks like this:</p>
  
  <pre><code>https://www.facebook.com/dialog/oauth?client_id=559149457475028&amp;redirect_uri=http://www.facebook.com/connect/login_success.html&amp;scope=publish_stream
  </code></pre>
  
  <p>After this it should redirect to specified url with a query string containing code, which in turn can be used to get access token of a user. But in my case it redirects to the following page: <code>http://www.facebook.com/connect/blank.html#_=_</code> without any queries.</p>
  
  <p>Why is that? How I can get code of a user?</p>