Ios 与facebook对话共享规范URL
我的应用程序只有移动内容。它使用托管URL来引用仅在应用程序中打开的内容()。如图()所示。从我的服务器获取规范url后。facebook对话框应该像这样共享它:Ios 与facebook对话共享规范URL,ios,objective-c,facebook,facebook-graph-api,canonical-link,Ios,Objective C,Facebook,Facebook Graph Api,Canonical Link,我的应用程序只有移动内容。它使用托管URL来引用仅在应用程序中打开的内容()。如图()所示。从我的服务器获取规范url后。facebook对话框应该像这样共享它: FBSDKShareLinkContent *content = [[FBSDKShareLinkContent alloc] init]; [content setContentURL:[NSURL URLWithString:canonical_urlString]]; [content setContentTitle:appN
FBSDKShareLinkContent *content = [[FBSDKShareLinkContent alloc] init];
[content setContentURL:[NSURL URLWithString:canonical_urlString]];
[content setContentTitle:appName]; //ignored??
[content setImageURL:[NSURL URLWithString:thumbnailUrlString]];//ignored??
[content setContentDescription:caption];//ignored??
[FBSDKShareDialog showFromViewController:self
withContent:content
delegate:nil];
当我分享时,帖子只有fb.me链接,它忽略了上面指定的缩略图、标题和描述
为什么我不能与指定的内容属性共享链接?
任何建议都会有所帮助。您是否使用iOS本机共享表?如果是这样的话,由于iOS社交框架API的限制,这将不起作用。