Open sonicwong opened 9 years ago
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) Project based on: https://github.com/ccsoft/cordova-sample/tree/facebook https://dl.dropboxusercontent.com/u/52815443/index_html.zip
I record the step in video: https://www.youtube.com/watch?v=WanM9hH-qw8
Thanks!
It is the screen capture for device that have not install facebook app. (previous video is using facebook app)
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?