FBPermissionDialog bug, showing "Welcome to Facebook" page
Posted
by Oliver
on Stack Overflow
See other posts from Stack Overflow
or by Oliver
Published on 2010-05-16T22:17:19Z
Indexed on
2010/05/16
22:20 UTC
Read the original article
Hit count: 285
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];
© Stack Overflow or respective owner