[英]Facebook Messenger SDK to share app Invite to Friends iOS
In my app i need to invite the facebook friends to download an application with Facebook Messenger, i am able to share image, gif, video . 在我的应用程序中,我需要邀请Facebook朋友使用Facebook Messenger来下载应用程序,我能够共享图像,gif,视频。
How can i share text of link to download application from Messenger ? 如何共享链接文本以从Messenger下载应用程序?
The code i use to share image is : 我用来分享图片的代码是:
if ([FBSDKMessengerSharer messengerPlatformCapabilities] & FBSDKMessengerPlatformCapabilityImage) {
UIImage *image = [UIImage imageNamed:@"Deepika-Padukone.png"];
[FBSDKMessengerSharer shareImage:image withOptions:nil];
}
Help me out please ! 请帮帮我!
I'm not sure what you exactly want to do, but it seems you might be confused. 我不确定您到底想做什么,但似乎您可能会感到困惑。
The FBSDKMessengerSharer
lets you share content from your app, into Messenger. 该FBSDKMessengerSharer
让您从您的应用程序分享内容, 为信使。 The content can be (animated) images, audio and video. 内容可以是(动画)图像,音频和视频。 So for example: if you have an app with images, you can let somebody share that image with somebody else, via Messenger. 因此,例如:如果您有一个带有图像的应用程序,则可以让其他人通过Messenger与他人共享该图像。
The FBSDKMessengerSharer
does not let you share applications/download links. FBSDKMessengerSharer
不允许您共享应用程序/下载链接。 For that, you can use App Requests or Game Requests . 为此,您可以使用App Requests或Game Requests 。
On the other hand, the Messenger API lets you share and reply content from within Messenger. 在另一方面,该信使API,让您能够共享,并从内部 Messenger的回复内容。 Your application can share to Messenger and people will be able to, 您的应用程序可以共享给Messenger,人们可以,
These kind of apps are typically "reaction" apps; 这类应用通常是“反应”应用; (animated) images that are nice in chat-threads. (动画)在聊天线程中不错的图像。
I hope this clarifies the possibilities for you. 我希望这可以为您澄清各种可能性。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.