从 FACEBOOK GRAPH API 回复时如何在我的评论中提及用户?

How do i mention user in my Comment while replying from FACEBOOK GRAPH API?

我正在使用 Facebook 图谱 API,我想知道如何在回复 POST 时在评论中提及某人? 当我尝试使用 @[ID:NAME] 格式时,例如 (@[12345:Abc]) 它给我一个错误,如

{
"error": {
"message": "(#1705) There was an error posting to this wall",
"type": "OAuthException",
"code": 1705
}
}

根据堆栈溢出 post Tagging/Mentioning Pages or Users in Posts via Graph Api

我了解到您无法通过 API 标记用户。

You can't tag people on a feed using the Graph API, you have to use Open Graph concepts- Mention Tagging/ Action Tagging (based on your requirement)

Source : Tagging/Mentioning Pages or Users in Posts via Graph Api

您可以使用 Open Graph API - https://developers.facebook.com/blog/post/2012/08/21/bringing-mention-tagging-to-open-graph/