Skip to content
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.

Update check-declined-granted-permission.php #23

Merged
merged 1 commit into from
Apr 2, 2018

Conversation

leoapsilva
Copy link

Tested using API 2.11.

  1. Request public_profile, email, user_birthday and publish_actions
  2. User declined email and publish_actions permissions
  3. Call getLoginUrl passing the callback URL and the declined array
  4. Facebook just show the publish_actions window.
  5. After user grants publish_actions, Facebook cannot show email permission grant window.

If you call getReRequestUrl for both permissions, Facebook will open the public_actions, when check for declined permission still have email permission declined, thenFacebook will show email permission grant window.

Tested using API 2.11.
1. Request public_profile, email, user_birthday and publish_actions
2. User declined email and publish_actions permissions 
3. Call getLoginUrl passing the callback URL and the declined array
4. Facebook just show the publish_actions window. 
5. After user grants publish_actions, Facebook cannot show email permission grant window. 

If you call **getReRequestUrl** for both permissions, Facebook will open the public_actions, when check for declined permission still have email permission declined,  thenFacebook will show email permission grant window.
@sohaibilyas sohaibilyas merged commit 0c8808d into sohaibilyas:master Apr 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants