它只是删除行:
[self.fb dialog:@“oauth”andDelegate:self];
并设置该行
[self authorizeWithFBAppAuth:YES safariAuth:YES];
至
[self authorizeWithFBAppAuth:YES safariAuth:NO];