FBPermissionDialog bug, showing "Welcome to Facebook" page
- by Oliver
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: http://cl.ly/15Lx. The only way around it is for the user to delete the app and reinstall.
This is how I have replicated it:
On first login, the user is asked for extended permissions on something (the dialog displays correctly). The user declines the permission. User quits the app.
The user relaunches the app and since we still need the permission, we ask again.
Instead of the permission dialog, the user is shown the "Welcome to Facebook" page.
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];