在 facebook SDK 3.x 中,可以使用共享对话框来添加标题。此功能在 4.x 中可用吗?标题现在是否应该成为共享指向的网页的一部分?
截至目前,显示的标题只是网络链接。
这是一些澄清问题的代码:
FBSDKShareLinkContent *content = [[FBSDKShareLinkContent alloc] init];
content.contentURL = [NSURL URLWithString:@"www.google.com"];
content.contentDescription = @"2-4 sentences of description.";
content.contentTitle = @"Title";
content.contentCaption = ?
shareDialog.shareContent = content;
shareDialog.delegate = self;
[shareDialog show];
注意 - 显然没有 'contentCaption' 设置器,但也许它是一个属性?不确定它是否还可用,但我想我会问。