简体   繁体   English

如何从iOS应用程序将自定义视频分享到Facebook?

[英]How to share custom video to Facebook from iOS app?

I'm developing iOS app that works with video. 我正在开发可与视频一起使用的iOS应用。
I need to share custom video to Facebook - post it to wall. 我需要将自定义视频分享到Facebook-将其发布到墙上。

Here is how video player should look like inside Facebook post: http://monosnap.com/image/XhXhbpJV0qYSpgeGVw3SBQPZ6qOPt2 这是视频播放器在Facebook帖子中的外观: http : //monosnap.com/image/XhXhbpJV0qYSpgeGVw3SBQPZ6qOPt2

As you can see - there are a lot of customization - user avatar, app logo, custom play button, gradient overlay, video stats. 如您所见-有很多自定义设置-用户头像,应用徽标,自定义播放按钮,渐变叠加,视频统计信息。

Please help - Is it possible to implement, and if 'yes' - how? 请帮忙-是否可以实施?如果是-如何?

Even though you won't have control over the exact layout, most of the data you want (title, description, call to action) is available to be posted to Facebook using the graph API 即使您无法控制确切的布局,也可以使用图形API将所需的大多数数据(标题,描述,号召性用语)发布到Facebook。

That's likely as close as you'll get. 这可能与您将得到的接近。 For the custom play button, you could try uploading a thumbnail image along with the video, to be displayed before the play button is pressed. 对于自定义播放按钮,您可以尝试上传缩略图和视频,以在按下播放按钮之前显示。

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

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