instagram 上的基本范围 API 已获批准,但仍然只能获得 20 张照片的结果
basic scope on instagram API approved, but still only can get 20 results of photo
我的网站使用 instagram API
时遇到问题
我已经为我的网站提交了评论,并且它已被 Instagram 批准 public 范围。
heres the screenshot of my client permission
但是我无法在我的网站上检索我所有的 instagram post,它只显示 20 个最新的 post。
此视频可以向您展示我的网站如何与 Instagram 的 API
配合使用
https://www.youtube.com/watch?v=Zy7mmgqDhjw
有人可以帮我吗?对不起我之前的英语不好
非常感谢:)
默认情况下,您每次 API 调用只能收到 20 个帖子。您可以通过添加 url 参数 &count=32
来增加此值,这将为您提供 32 个帖子(设置计数超过 32 只会让您得到 32 个)
之后您在 API 回复中使用 pagination.next_url
获取下一组帖子。
我的网站使用 instagram API
时遇到问题我已经为我的网站提交了评论,并且它已被 Instagram 批准 public 范围。
heres the screenshot of my client permission
但是我无法在我的网站上检索我所有的 instagram post,它只显示 20 个最新的 post。
此视频可以向您展示我的网站如何与 Instagram 的 API
配合使用https://www.youtube.com/watch?v=Zy7mmgqDhjw
有人可以帮我吗?对不起我之前的英语不好
非常感谢:)
默认情况下,您每次 API 调用只能收到 20 个帖子。您可以通过添加 url 参数 &count=32
来增加此值,这将为您提供 32 个帖子(设置计数超过 32 只会让您得到 32 个)
之后您在 API 回复中使用 pagination.next_url
获取下一组帖子。