I use php sdk for my app. I get the login url with $facebook->getLoginUrl() and some extended permissions.
when the user is redirected to that page, the permissions dialog is displayed. when he clicks allow, he gets redirected back to my website but with error_reason=user_denied passed in the url.
I tried removing the application from the user's facebook account, deleting all cookies / caches on the browser, still can't make it to work.
I saw there is another question on StackOverflow about this issue but got no answer... Facebook authentication returns "denied" even if I click allow