Parse api remove 'you already allowed this application' after the user has allowed the application

I use the parse.com login controller to register users on facebook.

if the user has allowed the application before he receives "you have already allowed this application" from facebook.

Does anyone know how to solve this?

Im code using:

PFLogInViewController *logInController = [[PFLogInViewController alloc] init];
logInController.delegate = self;
logInController.fields =  PFLogInFieldsFacebook ;
logInController.facebookPermissions = [NSArray arrayWithObjects:@"publish_stream", nil];
NSLog(@"%@",logInController.facebookPermissions);
[self.navigationController presentModalViewController:logInController animated:YES];
+3
source share
2 answers

I suspect you are showing the show unnecessarily. Try only imagine PFLogInViewController if [PFUser currentUser] returns nil.

+2
source

Thomas is right. In addition, your navigation controller should not be modal. I must be.

0

All Articles