Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6642031
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T23:52:54+00:00 2026-05-25T23:52:54+00:00

I use php sdk for my app. I get the login url with $facebook->getLoginUrl()

  • 0

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

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T23:52:55+00:00Added an answer on May 25, 2026 at 11:52 pm

    Took me a little while to figure this one out. The issue is related to the fact that you are in sandbox mode, but disabling it is not the way to fix this.

    When you add a Facebook user to your app (as a tester, developer, admin, etc) they are initially given a Pending status. While the user has that pending status, they can view your Facebook app but can not grant privileges to it.

    To remove the pending status, you need the person who you’ve granted the role to to log into their account. In their notifications you will see that they have been granted the role for the Facebook app. The user then has to click on that notification and accept it. Once accepted, the user is no longer pending and can accept Facebook privilege requests from the App.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can I use Facebook PHP SDK to deauthorize my app for a particular user,
I'd like to use the Facebook PHP SDK to post on a user's wall
I'm using the PHP Facebook SDK (v.3.1.1) for building my Facebook app. At some
I'm trying to use Facebook's PHP SDK to get the number of likes for
Background: Using Facebook PHP SDK v 2.1.2 cookieSupport = true App on Facebook has
I want to use Facebook ID to welcome all facebook user that enter my
Our app uses the PHP- aswell as the JS-SDK of Facebook. We are able
I'm trying to use the Graph API and the PHP SDK for Facebook to
I need to use PHP to connect to a URL via a proxy server.
I am migrating my Facebook canvas application to using the new PHP SDK. However,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.