Obtain facebook token access from authorization

I have a Facebook Account (Lets call him Admin), a Page, and an Application... I have problems to obtain extended token for a Server Script to post in Page's Wall. In a lot of tutorials, they recommends to call this URL:


I login with the Facebook account, apply the permissions, but instead of give me the code/token, I got a page with this:

Success ADVERTENCIA DE SEGURIDAD: trata la dirección URL como si fuera tu contraseña y no la compartas con nadie.

With font red... I've tried with 3 browsers, but same results. What I'm doing wrong? Do you know a good (and updated) tutorial?


You are using the wrong flow and/or not handling the current authentication flow.

That flow is for desktop applications and you must parse the access token that is returned in the url thus the message,

SECURITY WARNING: Please treat the URL above as you would your password and do not share it with anyone.

Because the access token is given in the open.

See this page for mor information https://developers.facebook.com/docs/facebook-login/login-flow-for-web-no-jssdk/

Need Your Help

Quick SQL question: Correct syntax for creating a table with a primary key in H2?

sql database h2 create-table

I'm currently starting a new Java application using the H2 database, but I have some confusion about basic SQL use for creating tables. How do I make a table of entries (strings) each with unique,

Using MapPath from a worker thread

asp.net wcf httpcontext server.mappath

I have a WCF service method that's running in a worker thread I spin from another method. I need to map a relative service app path ("~/Templates/a.template") to the physical path