无法使用沙盒帐户尝试 Instagram API 媒体搜索
Unable to try Instagram API media search with sandbox account
我正在尝试 运行 使用我的沙盒帐户进行媒体搜索。
请求url:https://api.instagram.com/v1/media/search?lat=48.858844&lng=2.294351&access_token=<my_AT>
我收到这样的回复:
{
"meta": {
"code": 400,
"error_type": "OAuthPermissionsException",
"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."
}
}
我的理解是我必须使用沙盒帐户直到我的网站准备好生产,但事实并非如此。我如何测试此功能?
您必须使用 public_content
范围进行身份验证,然后您将不会收到该错误并获得沙盒模式 API 响应
我正在尝试 运行 使用我的沙盒帐户进行媒体搜索。
请求url:https://api.instagram.com/v1/media/search?lat=48.858844&lng=2.294351&access_token=<my_AT>
我收到这样的回复:
{
"meta": {
"code": 400,
"error_type": "OAuthPermissionsException",
"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."
}
}
我的理解是我必须使用沙盒帐户直到我的网站准备好生产,但事实并非如此。我如何测试此功能?
您必须使用 public_content
范围进行身份验证,然后您将不会收到该错误并获得沙盒模式 API 响应