这个问题在这里已经有了答案:FBSDKShareDialogcancelswhenitshouldpost(4个答案)关闭7年前。我正在尝试使用FacebookSDK分享帖子,但在我分享或取消帖子时总是会调用sharerDidCancel。这是我的代码-(void)shareFacebook{FBSDKShareLinkContent*content=[[FBSDKShareLinkContentalloc]init];content.contentURL=[NSURLURLWithString:@"http://www.google.com"];[FBSDKShareDialogsh