-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fail to re-require for permission #48
Comments
What platform, Android and/or iOS? |
Android, just use the sample apps provided with my own facebook app id |
I am testing in simulator, so no facebook app installed and it's working. I login, two dialogs back to back for permissions, then I logout and login again (fill facebook login info again) and see two permission dialogs again. |
Here is my index.html (i just added alert and remove some button in the example) I record the step in video: Thanks! |
Ok, I'll look into it. It also involves android lib we are using (simple facebook), so it might take a while to figure out a solution (next week hopefully). |
I have the same problem on iOS. I managed to fix this on my way: On login I post the token to my server (i need this) and validate with PHP-SDK. When one permission is missing I request a DELETE on /me/permission to de-authroize the app. This will force a complete new app permission screen. Works well.. |
Just some more informations here: this only happens when Facebook-App isn't installed (Safari iOS / Modal-Box Android). |
@sonicwong : Can you please retry with FacebookSDK 3.23? |
Is fixed on 3.23, but still present on iOS. |
For example, I require user for 'public_profile', 'email' permission.
User un-ticked email. and continue.
It return success function call, so I check the permission array.
But when I processs logout and login again.
Permission setting screen not come out and only return me 'public_profile' permission.
What way should I do for sure user have 'public_profile', 'email' permission?
The text was updated successfully, but these errors were encountered: