Instagram“您不能喜欢此媒体”; [英] Instagram "You Cannot Like this Media"

查看:70
本文介绍了Instagram“您不能喜欢此媒体”;的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道几个小时前Instagram API已关闭,但现在似乎已备份。问题是,当我们将数据发布到Instagram说喜欢一张特定的照片时,会出现以下错误:

I am aware that the Instagram API was down a few hours ago, but it seems to be back up now. The problem is, when we post data to Instagram saying to like a specific photo, we get this error:

{"meta":{"error_type":"APINotAllowedError","code":400,"error_message":"you cannot like this media"}}

我们之前已经收到此错误,但是我们不明白为什么要得到它。请记住,我们登录了一个备用帐户,这意味着该帐户甚至还没有喜欢媒体。

We have gotten this error before, but we don't understand why we are getting it. Keep in mind, we logged into an alternate account which means that account hasn't even liked the media yet.

如果完全有帮助,我们可以通过请求url https://api.instagram.com/v1来运行like命令/ media / {media-id} / likes ,其中 {media-id} 替换为图片ID,我们包括用户的访问权限http请求正文中的令牌。显然这是一个发帖请求

If it helps at all to know, we are running the like command by requesting the url https://api.instagram.com/v1/media/{media-id}/likes with {media-id} being replaced by the image id, and we are including the user's access token in the body of the http request. This is obviously a post request

没有Instagram文档说明我们为什么会收到此消息。有人解决方案吗?

There is no Instagram documentation on why we would get this message. Does anyone have a solution?

推荐答案

请参见 API使用条款


请勿滥用API。太多的请求会太快导致您的访问权限被关闭

Do not abuse the API. Too many requests too quickly will get your access turned off

我已经等了一天,问题并没有消失。另外,我尝试使用当前用户创建新客户端,但无济于事。因此,通过您的,我想它们的意思是该用户的所有客户。您必须获得另一个用户并用它创建一个全新的客户。为我工作。

I've waited another day and the problem didn't go away. Also I've tried creating a new client with the current user with no avail. So by your I guess they mean "all clients from this user". You'll have to get another user and create a brand new client with it. Worked for me.

这篇关于Instagram“您不能喜欢此媒体”;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆