使用Xcode7,我将FacebookSDK升级到podFBSDKShareKit(4.6.0)。我已经将Facebook方案添加到白名单中,如下所示。引用:https://developers.facebook.com/docs/ios/ios9LSApplicationQueriesSchemesfbapifb-messenger-apifbauth2fbshareextension但是,以下代码仅显示iOS9上的iOS默认社交对话框。在iOS8上具有相同二进制文件的相同代码可以打开Facebook应用程序并正确显示共享对话框。FBSDKShareLinkContent*conte
我是iOS新手,我想使用适用于iOS的FacebookSDK分享一个链接。我的代码如下:@IBActionfuncshareVoucherUsingFacebook(sender:UIButton){print("Facebook")letcontent:FBSDKShareLinkContent=FBSDKShareLinkContent()content.contentURL=NSURL(string:"www.google.com")content.contentTitle="ContentTitle"content.contentDescription="Thisisthede
我在代码中创建了一个FBSDKShareDialog-(void)shareWithFacebookDialog;{FBSDKShareLinkContent*content=[[FBSDKShareLinkContentalloc]init];content.contentURL=[NSURLURLWithString:@"PathRedacted"];content.contentTitle=@"TitleRedacted";content.contentDescription=@"DescriptionRedacted";FBSDKShareDialog*dialog=[[FBS