是否可以在沙盒中使用 Instagram tags/xxx/media/recent 端点?
Is possible to use Instagram tags/xxx/media/recent endpoint in sandbox?
我正在尝试在沙盒中的 Instagram API 上使用此端点:
https://api.instagram.com/v1/tags/<NAME>/media/recent?access_token=<TOKEN>
但是 returns:
{"pagination": {"deprecation_warning": "next_max_id and min_id are deprecated for this endpoint; use min_tag_id and max_tag_id instead"}, "meta": {"code": 200}, "data": []}
所以我尝试了:
https://api.instagram.com/v1/tags/brasilbest/media/recent?access_token=3942609881.87c85c5.9823c28375544c5395f83db9c01a12f8&min_tag_id=0&max_tag_id=10
它returns:
{"meta": {"error_type": "APIInvalidParametersError", "code": 400, "error_message": "max_id must not be a media id."}}
我尝试只使用 max_tag_id 和 min_tag_id,我还尝试了 max_tag_id 和 min_tag_id 的不同值。
我的问题是我如何在该请求中使用 max_tag_id 和 min_tag_id,以及当我的应用程序处于沙盒中时是否可以获取最近的媒体?
郑重声明,当我使用
https://api.instagram.com/v1/tags/search?q=google&access_token=<TOKEN>
或者:
https://api.instagram.com/v1/tags/google?access_token=3942609881.87c85c5.9823c28375544c5395f83db9c01a12f8
有效。但是 v1/tags/google/media/recent 不会。
您在沙盒模式下只能获得 20 posts,并且只会在 API 响应中显示您和沙盒用户的 posts。
如果您添加带有主题标签的照片,那么 API 响应将在 API 响应中只有您的照片,否则它将是空的。
一旦你从沙盒上线,你将获得所有 post。
max_tag_id 和 min_tag_id 将无法在沙盒模式下工作,因为它仅限于最新的 20 posts。
The behavior of the API when you are in sandbox mode is the same as
when your app is live, but comes with the following restrictions:
- Data is restricted to sandbox users and the 20 most recent media from each sandbox user
- Reduced API rate limits
我正在尝试在沙盒中的 Instagram API 上使用此端点:
https://api.instagram.com/v1/tags/<NAME>/media/recent?access_token=<TOKEN>
但是 returns:
{"pagination": {"deprecation_warning": "next_max_id and min_id are deprecated for this endpoint; use min_tag_id and max_tag_id instead"}, "meta": {"code": 200}, "data": []}
所以我尝试了:
https://api.instagram.com/v1/tags/brasilbest/media/recent?access_token=3942609881.87c85c5.9823c28375544c5395f83db9c01a12f8&min_tag_id=0&max_tag_id=10
它returns:
{"meta": {"error_type": "APIInvalidParametersError", "code": 400, "error_message": "max_id must not be a media id."}}
我尝试只使用 max_tag_id 和 min_tag_id,我还尝试了 max_tag_id 和 min_tag_id 的不同值。
我的问题是我如何在该请求中使用 max_tag_id 和 min_tag_id,以及当我的应用程序处于沙盒中时是否可以获取最近的媒体?
郑重声明,当我使用
https://api.instagram.com/v1/tags/search?q=google&access_token=<TOKEN>
或者:
https://api.instagram.com/v1/tags/google?access_token=3942609881.87c85c5.9823c28375544c5395f83db9c01a12f8
有效。但是 v1/tags/google/media/recent 不会。
您在沙盒模式下只能获得 20 posts,并且只会在 API 响应中显示您和沙盒用户的 posts。
如果您添加带有主题标签的照片,那么 API 响应将在 API 响应中只有您的照片,否则它将是空的。
一旦你从沙盒上线,你将获得所有 post。
max_tag_id 和 min_tag_id 将无法在沙盒模式下工作,因为它仅限于最新的 20 posts。
The behavior of the API when you are in sandbox mode is the same as when your app is live, but comes with the following restrictions:
- Data is restricted to sandbox users and the 20 most recent media from each sandbox user
- Reduced API rate limits