gpt4 book ai didi

ios - 如何在 iOS 应用程序中评论 instagram 提要

转载 作者:行者123 更新时间:2023-11-28 21:56:49 25 4
gpt4 key购买 nike

我已经点击了 instagram 开发者网站的链接并点击了 api https://api.instagram.com/v1/media/{media-id}/comments 并发送参数 text =testing.. 征求意见,但我收到了回复

 {
"meta": {
"error_type": "OAuthPermissionsException",
"code": 400,
"error_message": "This request requires scope=comments, but this access token is not authorized with this scope. The user must re-authorize your application with scope=comments to be granted write permissions."
}
}

还有这个:

Error Domain=instagramErrorDomain Code=400 "The operation couldn’t be completed. (instagramErrorDomain error 400.)" UserInfo=0xeb7ab40 {error_message=This client ID is not permitted to POST comments. For more info, please refer to our developer site at http://instagram.com/developer/endpoints/comments., error_type=APIError}

请提出任何建议。提前致谢。

最佳答案

这可能有两个原因。

1) 您需要在您的请求中发布有效的 acessToken。

2) 您的应用无权发表评论。您必须请求 Instragram 允许您的应用发表评论。

http://instagram.com/developer/endpoints/comments/

关于ios - 如何在 iOS 应用程序中评论 instagram 提要,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26252384/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com