由于本周Facebook重大改变Instagram API(first on rate limiting然后removing almost all capabilities)迫使转向Instagram Graph API,有没有人知道是否可以使用Instagram Graph API将商业帐户的评论发布给其他人的公共媒体?
我知道an endpoint通过发送 POST
到 /{mediaId}/comments?message={messageText}
来创建注释,但是如何获取该媒体的Graph API对象ID? Instagram上的媒体ID与Graph的对象ID完全不同 .
正如我所见in the docs,在Graph API中,我们只能检索业务用户拥有的媒体的元数据 .
1 回答
您可以使用webhooks从提及业务的对象中检索ID . 以下https://developers.facebook.com/docs/instagram-api/reference/user/mentions也应该有效,但目前似乎并非如此 .
然后你会使用提及边缘(https://developers.facebook.com/docs/instagram-api/reference/user/mentions)发表评论 .