Facebook Authentication Gotcha

I am working on a project right now that allows the user to log into facebook and grant access to a page or theirs. The documentation says to use this type of call: https://www.facebook.com/dialog/oauth?      client_id=YOUR_APP_ID&redirect_uri=YOUR_URL&scope=manage_pages&      response_type=token The problem for me was that a response_type of token redirects the browser with a URI of : https://domain.com/#access_token=<a_valid_token>[…]