Instragram API在另一个instagram用户帖子中写评论

时间:2019-12-12 18:45:01

标签: facebook-graph-api instagram-api instagram-graph-api

我对API很陌生。我试图将评论写到帖子中,在我自己的帖子中效果很好。

现在,我按照业务发现API(https://developers.facebook.com/docs/instagram-api/guides/business-discovery)“获取媒体基本指标”中的步骤进行操作,以从其他帐户获取信息:

curl -i -X GET \ "https://graph.facebook.com/v3.2/17841405309211844?fields=business_discovery.username(bluebottle){media{comments_count,like_count}}&access_token={access-token}"

因此,我获得了帐户@bluebottle的职位ID。到目前为止,一切都很完美。

如果我选择了最后一个帖子(例如postid = 17858843269216389),并且尝试在此处写评论,我将无法:

POST "https://graph.facebook.com/v5.0/postid/comments?message=testing123&access_token=$token"

我收到以下答复:

ID为'17858843269216389'的对象不存在,由于缺少权限而无法加载,或者不支持此操作。请阅读Graph API文档。

有什么想法吗?

感谢一百万!

0 个答案:

没有答案