【发布时间】:2014-06-17 07:02:09
【问题描述】:
Instagram API 中似乎存在错误。当我发布喜欢媒体的请求时,我会收到以下回复。
{
"meta": {
"error_type": "APINotAllowedError",
"code": 400,
"error_message": "you cannot like this media"
}
}
我的代码之前运行良好。但现在它不起作用。我还在 Instagram 网站的 API 控制台上测试了 LIKE api。 Instagram 网站上的 API 控制台也返回相同的输出。有人可以调查这个问题帮助我。
这是我通过 Instagram 网站上的 API 控制台发送的示例请求。
POST /v1/media/742359403607622196/likes?access_token=1141855090.1fb234f.1073806ddd2c46d2bbfb3259b1a5ef1c HTTP/1.1
X-HostCommonName: api.instagram.com
Host: api.instagram.com
Content-Length: 0
X-Target-URI: https://api.instagram.com
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Connection: Keep-Alive
【问题讨论】:
-
找到解决方案了吗?