我已设法使用Graph API发布活动。如何在动作中标记朋友?
我可以看到您可以在操作信息中心中添加标签,但除此之外,未指定如何标记朋友。
答案 0 :(得分:11)
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
这将标记操作中的用户,并在地点标记