title: facebook php authentication returns user "denied" permissions when I click "allow"
body: <p>I use php sdk for my app. I get the login url with <strong>$facebook->getLoginUrl()</strong> and some extended permissions.</p>
  
  <p>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 <strong>error_reason=user_denied</strong> passed in the url. </p>
  
  <p>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. </p>
  
  <p>I saw there is another question on StackOverflow about this issue but got no answer...
  <a href="https://stackoverflow.com/questions/5862360/facebook-authentication-returns-denied-even-if-i-click-allow">Facebook authentication returns &quot;denied&quot; even if I click allow</a></p>