通过 Graph Api 在帖子中标记/提及页面或用户 [英] Tagging/Mentioning Pages or Users in Posts via Graph Api
问题描述
有人知道在通过 Graph Api 发送的帖子中标记/提及其他页面或用户的合法且有效的方法吗?
Does anybody know a legal and working way to tag / mention other Pages or Users in a Post sent via Graph Api?
我听说 [ID:USER] 前段时间它起作用了,但现在不起作用了.
I hear it worked some time ago with [ID:USER], but this is not working anymore.
有人知道怎么做吗?
推荐答案
您不能使用图谱 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)
有一个小的解决方法(不是首选),您可以看看它是否符合您的要求.
There's a small workaround (not preferred), you can look if it fits your requirement.
但是如果您想发布照片,那么您可以使用tag
参数标记人物.
But if you want to post a photo, then you can tag the people using tag
parameter.
祝你好运!
这篇关于通过 Graph Api 在帖子中标记/提及页面或用户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!