Redirecting to authentication dialog - "An error occurred. Please try again later"

Wanderson Silva picture Wanderson Silva · Aug 29, 2011 · Viewed 132.4k times · Source

Why does it always happen to me?

This happens after my application verify for user user login and redirect user to the authentication page:

https://www.facebook.com/dialog/oauth?client_id=XXX&redirect_uri=http%3A%2F%2Fexample.com%2Fmyappname%2F&state=YYYYYY&scope=offline_access%2Cpublish_actions

But instead of showing the authorization page, Facebook shows an error page with

An error occurred. Please try again later.

Is there any configuration I have to do before try to authenticate my users?

All is done with PHP using the PHP-SDK classes.

Answer

dxit picture dxit · Feb 8, 2012

I have had the same problem as you.

From the Facebook Developers Apps page, make sure that the Sandbox Mode is disabled.

enter image description here