开放图表测试版:如何在动作中标记朋友? [英] Open Graph beta: How can you tag friends in a action?

查看:112
本文介绍了开放图表测试版:如何在动作中标记朋友?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已设法使用 Graph API 发布活动。你可以在一个动作中标记朋友吗?

I've managed to publish an activity using the Graph API. How can you tag friends in a action?

我可以看到你可以在操作面板中添加标签,但除了没有指定如何标记朋友之外, p>

I can see you can add tags in the action dashboard, but other than that it's not specified how to tag friends.

推荐答案

有一个简化的例子,在 https://developers.facebook.com/docs/beta/opengraph/actions/#tagging

There's a simplified example at https://developers.facebook.com/docs/beta/opengraph/actions/#tagging

Actions can be tagged with places and people by specifying the place and tags optional parameters.

示例调用将是一个 POST

https://graph.facebook.com/me/{APP_NAME}:{ACTION NAME}?
  {YOUR OTHER ACTION PARAMETERS HERE}
  &place={A PLACE ID}
  &tags={COMMA SEPARATED LIST OF UIDS}&access_token=YOUR_ACCESS_TOKEN

这将标记行动中的用户,并在一个地方标记他们

That would tag the users in the action, and also tag them at a place

这篇关于开放图表测试版:如何在动作中标记朋友?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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