Reputation: 1279
I'm experiencing a weird bug that I can replicate pretty consistently with the FBConnect iPhone SDK, more specifically with the class FBPermissionDialog. The result is that instead of seeing the standard extended permissions dialog, the user is shown this:
The only way around it is for the user to delete the app and reinstall.
This is how I have replicated it:
The only way for the user to get asked again is to delete the app and reinstall. Has anyone else experienced this? Is there a workaround? Here is the code I use to ask for permission, I believe it's pretty standard.
// Create a permission dialog
FBPermissionDialog *dialog = [[[FBPermissionDialog alloc] init] autorelease];
dialog.delegate = self;
dialog.permission = @"read_stream";
[dialog show];
Upvotes: 1
Views: 14889
Reputation: 998
I face the same issue. In fact, you don't have to uninstall and reinstall the application. A FBSession logout will do trick. Based on that, here's a workaround.
Whenever one of those cases occurs :
-> force logout using the FBSession's "logout" methods.
The user will have to enter his email and password again the next time a Facebook request is performed.
I must say I'm not really happy with that, but at least, it prevents the ugly popup from appearing. I'm still looking forward to a better workaround or even a fix on either FBConnect or Facebook server side.
Upvotes: 0