I try to get access token on Facebook API.
According to this answer I need first to build a link https://www.facebook.com/dialog/oauth?client_id=[Your API KEY]&redirect_url=[Service that will handle Authentication]&scope=[Permissions you Need]
. In my case it looks like this:
https://www.facebook.com/dialog/oauth?client_id=559149457475028&redirect_uri=http://www.facebook.com/connect/login_success.html&scope=publish_stream
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: http://www.facebook.com/connect/blank.html#_=_
without any queries.
Why is that? How I can get code of a user?