logInInBackgroundWithReadPermissions 打开 "You have already authorized MyApp" 屏幕
logInInBackgroundWithReadPermissions opens "You have already authorized MyApp" screen
我使用 FBSDKLoginKit (4.7.0) 更新到 ParseFacebookUtilsV4 (1.9.0)..(使用 IOS 9)
所以在调用 "logInInBackgroundWithReadPermissions"
之后
[PFFacebookUtils logInInBackgroundWithReadPermissions:@[@"public_profile", @"email",@"user_friends"] block:^(PFUser *user, NSError *error)
首先它会打开 Safari - 我猜这是他们的新用户体验 - 是这样吗?或者它的另一个问题?(用于打开应用程序,使用 IOS 9)
T 问题是每次 - 在我第一次登录和注销后 - 我连接它都会在 Safari 浏览器中显示 "You have already authorized MyApp..." 屏幕。
我试着打电话给
[[PFFacebookUtils facebookLoginManager] logOut];
但没有用。
谢谢丹
即使您注销,您也已经授予应用程序权限,因此一旦您重新登录,您将收到 "already authorized" 消息。如果您想要再次授予权限,则需要转到 App Settings on Facebook 并删除该应用程序。然后当您尝试再次授权该应用程序时,您将看到权限授予对话框。
我使用 FBSDKLoginKit (4.7.0) 更新到 ParseFacebookUtilsV4 (1.9.0)..(使用 IOS 9) 所以在调用 "logInInBackgroundWithReadPermissions"
之后[PFFacebookUtils logInInBackgroundWithReadPermissions:@[@"public_profile", @"email",@"user_friends"] block:^(PFUser *user, NSError *error)
首先它会打开 Safari - 我猜这是他们的新用户体验 - 是这样吗?或者它的另一个问题?(用于打开应用程序,使用 IOS 9)
T 问题是每次 - 在我第一次登录和注销后 - 我连接它都会在 Safari 浏览器中显示 "You have already authorized MyApp..." 屏幕。
我试着打电话给
[[PFFacebookUtils facebookLoginManager] logOut];
但没有用。
谢谢丹
即使您注销,您也已经授予应用程序权限,因此一旦您重新登录,您将收到 "already authorized" 消息。如果您想要再次授予权限,则需要转到 App Settings on Facebook 并删除该应用程序。然后当您尝试再次授权该应用程序时,您将看到权限授予对话框。