用Facebook API标记朋友(目标c) [英] Tag friends with Facebook API (Objective c)

查看:140
本文介绍了用Facebook API标记朋友(目标c)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用Facebook graph API标记朋友?我需要它在两种情况下:


  1. 当我发布CheckIn时,我想标记一个朋友。


这是可能吗?

$ b

https://developers.facebook.com/docs/reference/api/checkin/



字段:标签,用户在签名中签名,权限: user_checkins ,包含id和名称字段的对象数组



http://developers.facebook.com/docs/reference/api/post/ ,在消息字段中有一种方法。这是您想要的格式 @ [{user_id}:1:{name}] 。但是看来,这样做是被破坏或功能被删除。


How can I tag friends with Facebook graph API? I need it in two scenarios:

  1. When I publish CheckIn I want to tag a friend with it.
  2. When I publish to Feeds I want to tag a friend with it.

Is this possible?

解决方案

From https://developers.facebook.com/docs/reference/api/checkin/

field: tags, "The users the author tagged in the checkin", permission: user_checkins, array of objects containing the id and name fields

From http://developers.facebook.com/docs/reference/api/post/, There was a way to do it in the message field. This is the format you want @[{user_id}:1:{name}]. But it appears this way is either broken or the functionality removed.

这篇关于用Facebook API标记朋友(目标c)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆