简体   繁体   English

在 iPhone 应用程序的 Facebook 视频中标记朋友

[英]Tagging friends in Facebook videos for an iPhone app

I am developing an iPhone application that allows the uploading of videos to Facebook.我正在开发一个允许将视频上传到 Facebook 的 iPhone 应用程序。 I would like to allow the user to tag his/her friends in the video uploaded.我想允许用户在上传的视频中标记他/她的朋友。 How can I achieve this programmatically?我怎样才能以编程方式实现这一目标? I have gone through the Facebook API documentation.我浏览了 Facebook API 文档。 There are APIs to add tags to photos, upload videos.有 API 可以为照片添加标签、上传视频。 But, the API for tagging friends for videos is not mentioned anywhere.但是,在任何地方都没有提到用于为视频标记朋友的 API。

In the message portion of the API call, you can add the @user to the message to tag specific users.在 API 调用的消息部分中,您可以将 @user 添加到消息中以标记特定用户。 I'd pop a dialog of the users and allow them to "tag" users, then you can populate the end of the message with @John Doe, @Jane Smith etc.我会弹出一个用户对话框并允许他们“标记”用户,然后您可以使用@John Doe、@Jane Smith 等填充消息的末尾。

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

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