我有一个应用程序,它将使用 FBSDKShareDialog 将帖子发布到 fb 墙上。我的代码如下:
FBSDKLoginManager *loginManager = [[FBSDKLoginManager alloc] init];
[loginManager logInWithPublishPermissions:@[@"publish_actions"] handler:^(FBSDKLoginManagerLoginResult *result, NSError *error) {
//TODO: process error or result.
if (!error) {
FBSDKShareLinkContent *content = [[FBSDKShareLinkContent alloc] init];
content.contentURL = [NSURL URLWithString:@"https://developers.facebook.com"];
FBSDKShareDialog *dialog = [[FBSDKShareDialog alloc] init];
dialog.delegate = self;
dialog.shareContent = content;
[FBSDKShareDialog showFromViewController:self
withContent:content
delegate:self];}}];
我的问题是,如果我只是使用此共享对话框发布,我是否需要提交审核以请求 publish_actions。提前致谢。