[英]Instagram Profile Picture Access Denied
I get my client-id from instagram. 我从instagram获取我的客户ID。 It says
CLİENT STATUS Live
. 它说“
CLİENT STATUS Live
。 But when I type this into browser it does not give me sample output in the website. 但是,当我在浏览器中键入此内容时,它不会在网站上提供示例输出。
https://api.instagram.com/v1/users/self/?access_token=ACCESS-TOKEN
I replaced ACCESS-TOKEN
with my client id. 我用客户ID替换了
ACCESS-TOKEN
。 And I get this error. 我得到这个错误。
{"meta": {"code": 400, "error_type": "OAuthAccessTokenException", "error_message": "The access_token provided is invalid."}}
Am I doing something wrong? 难道我做错了什么? I wanna get this response.
我想得到这个回应。
{
"data": {
"id": "1574083",
"username": "snoopdogg",
"full_name": "Snoop Dogg",
"profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_1574083_75sq_1295469061.jpg",
"bio": "This is my bio",
"website": "http://snoopdogg.com",
"is_business": false,
"counts": {
"media": 1320,
"follows": 420,
"followed_by": 3410
}
}
}
The ACCESS-TOKEN
and CLIENT ID
is not the same thing. ACCESS-TOKEN
和CLIENT ID
是不同的。 You need to use your CLIENT ID
to retrieve an access token using OAuth: https://www.instagram.com/developer/authentication 您需要使用
CLIENT ID
来使用OAuth检索访问令牌: https : //www.instagram.com/developer/authentication
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.