I update My Facebook sdks to 4.6 and Parse to 1.8.5 , and after that I notice that in iOS 7,8 in login the app is go to Facebook app for premmisions and in iOS 9 the app go to safari.
And I try to add setLoginBehavior before logInInBackgroundWithReadPermissions but it did not solve the problems.
[[PFFacebookUtils facebookLoginManager] setLoginBehavior:FBSDKLoginBehaviorSystemAccount];
NSArray *permissions = [NSArray arrayWithObjects:@"email",@"user_friends", nil];
[PFFacebookUtils logInInBackgroundWithReadPermissions:permissions block:^(PFUser *user, NSError *error)
{
}];
what can be the problem ?