---------- EDITTED -----------------------Instagramアクセストークンが無効です
私は、 mはAPIに次のリクエストを送信しようとしている:
https://api.instagram.com/v1/tags/nofilter/media/recent?access_token=MY_TOKEN
次のエラーapeear:
私はInstagramののセキュリティ画面を経由してアプリケーションの範囲を変更しようとしている{"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."}}
(https://instagram.com/developer/clients/MY_CLIENT/edit/ )、このメッセージが表示されます:
We will start accepting Permissions Review submissions after Dec 3, 2016.
---------- EDITTED -----------------------
私が取得しようとしています私のpythonアプリケーションを介してInstagram APIからのデータ。
{"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へのHTTPリクエストを送信していたときに が、それは私に次のエラーを返します私も同じエラーがあります
が、それは 'すべきではない "...?access_tokenは= access_tokenは最近"'? – JRodDynamite
@JasonEstibeiro次のリクエストを試みましたが、同じエラーが返されます。https://api.instagram.com/v1/tags/hashtag/media/recent?access_token=self.CLIENT_ID – liorko
アクセストークンをもう一度確認できますか?エラーは、トークンが無効であることを示します。 – JRodDynamite