当我登录FB出现错误信息!!错误日志:FBConditionalLog:FBSession:读取权限的权限请求包含意外的发布或管理权限
- (BOOL)openSessionWithAllowLoginUI:(BOOL)allowLoginUI {
NSArray *permissions = [NSArray arrayWithObjects:@"publish_actions", @"user_photos", @"email", nil];
return [FBSession openActiveSessionWithReadPermissions:permissions
allowLoginUI:allowLoginUI
completionHandler:^(FBSession *session,
FBSessionState state,
NSError *error) {
[self sessionStateChanged:session
state:state
error:error];
}];
如何添加@“publish_actions”权限而不是错误消息?
谢谢!!