简体   繁体   English

FBSDKShareLinkContent 当应用程序处于实时状态 iOS 时无法共享标题和描述

[英]FBSDKShareLinkContent Unable to share title and description when application is in live state iOS

I have implemented FBSDKShareLinkContent to share contentURL, title, description and imageURL.我已经实现了 FBSDKShareLinkContent 来共享 contentURL、title、description 和 imageURL。 I have implemented deep linking in the application which redirect it to apple store on selecting image from Facebook.我在应用程序中实现了深度链接,在从 Facebook 选择图像时将其重定向到苹果商店。

I have impmented following piece of code:我已经实现了以下代码:

FBSDKShareLinkContent *shareContent = [[FBSDKShareLinkContent alloc] init];
[shareContent setContentURL:url;
[shareContent setContentTitle:params.title];
[shareContent setContentDescription:description;
[shareContent setImageURL:imgURL;

It was working until my application redirect link wasn't in the live state.它一直在工作,直到我的应用程序重定向链接未处于活动状态。 But now title and description is not visible when i post it to Facebook.但是现在当我将它发布到 Facebook 时,标题和描述是不可见的。

This question has been answered in the following link by the Facebook: https://developers.facebook.com/docs/sharing/reference/feed-dialog/v2.6#params Facebook 在以下链接中回答了这个问题: https : //developers.facebook.com/docs/sharing/reference/feed-dialog/v2.6#params

It cleares that of your application is sharing itunes link of google play store link then the description added to the content of the sharing dialog will not be posted on the Facebook.它清除您的应用程序正在共享 google play 商店链接的 iTunes 链接,然后添加到共享对话框内容的描述将不会发布在 Facebook 上。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM