提供的 Instagram 访问令牌无效
Instagram Access Token provided is invalid
------------已编辑------------------------
当我尝试向 API 发送下一个请求时:
https://api.instagram.com/v1/tags/nofilter/media/recent?access_token=MY_TOKEN
出现以下错误:
{"meta":{"error_type":"OAuthPermissionsException","code":400,"error_message":"This request requires scope=public_content, but this access token is not authorized with this scope. The user must re-authorize your application with scope=public_content to be granted this permissions."}}
当我尝试通过 Instagram (https://instagram.com/developer/clients/MY_CLIENT/edit/) 的安全屏幕更改应用程序的范围时,出现此消息:
We will start accepting Permissions Review submissions after Dec 3, 2016.
------------已编辑------------------------
我正在尝试通过我的 python 应用程序从 Instagram API 检索数据。
当我向 Instagram API 发送 HTTP 请求时,下一个错误是 return 我:
{"meta":{"error_type":"OAuthAccessTokenException","code":400,"error_message":"The access_token provided is invalid."}}
附上我的代码:
def parseData(self,hashtag):
url = "https://api.instagram.com/v1/tags/" + hashtag + "/media/recent?client_id=" + self.CLIENT_ID
content = urllib2.urlopen(url).read()
data = json.load(content)
我尝试获取新的身份验证密钥,但出现相同的错误
Instagram 似乎改变了他们的 API 政策。 2015年12月5日,可以注册新的申请。
您的应用是在 11 月 17 日之后创建的,因此需要在上线前进行审核。
Apps created before Nov 17, 2015 will only be required to submit for
review by June 2016. We recommend that you update your product and
start the submission process sooner than later to avoid interuptions
of service.
提交评论
How to Submit for Permissions Review
Go to Manage Clients and select the app you'd like to submit for Permissions Review
Click the Permissions tab
Click the Start Submission button
Describe the purpose of your application and how you intend to use each permission
------------已编辑------------------------
当我尝试向 API 发送下一个请求时:
https://api.instagram.com/v1/tags/nofilter/media/recent?access_token=MY_TOKEN
出现以下错误:
{"meta":{"error_type":"OAuthPermissionsException","code":400,"error_message":"This request requires scope=public_content, but this access token is not authorized with this scope. The user must re-authorize your application with scope=public_content to be granted this permissions."}}
当我尝试通过 Instagram (https://instagram.com/developer/clients/MY_CLIENT/edit/) 的安全屏幕更改应用程序的范围时,出现此消息:
We will start accepting Permissions Review submissions after Dec 3, 2016.
------------已编辑------------------------
我正在尝试通过我的 python 应用程序从 Instagram API 检索数据。 当我向 Instagram API 发送 HTTP 请求时,下一个错误是 return 我:
{"meta":{"error_type":"OAuthAccessTokenException","code":400,"error_message":"The access_token provided is invalid."}}
附上我的代码:
def parseData(self,hashtag):
url = "https://api.instagram.com/v1/tags/" + hashtag + "/media/recent?client_id=" + self.CLIENT_ID
content = urllib2.urlopen(url).read()
data = json.load(content)
我尝试获取新的身份验证密钥,但出现相同的错误
Instagram 似乎改变了他们的 API 政策。 2015年12月5日,可以注册新的申请。
您的应用是在 11 月 17 日之后创建的,因此需要在上线前进行审核。
Apps created before Nov 17, 2015 will only be required to submit for review by June 2016. We recommend that you update your product and start the submission process sooner than later to avoid interuptions of service.
提交评论
How to Submit for Permissions Review
Go to Manage Clients and select the app you'd like to submit for Permissions Review Click the Permissions tab Click the Start Submission button Describe the purpose of your application and how you intend to use each permission