Instagram API中缺少分页信息 [英] Pagination info missing in instagram api

查看:113
本文介绍了Instagram API中缺少分页信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在通过 instagram api 使用最受欢迎的api 在文档中,它说了一些关于分页和next_url的信息,但是当我 使用下面的链接和我的应用ID.我在json中看不到任何分页信息. 我想念什么吗? https://api.instagram.com/v1/media/popular?client_id =客户ID 或者 https://api.instagram.com/v1/media /popular?client_id =客户端ID& count = 10

I am using the most popular api via instagram api In the document, it saying something about pagination and next_url but when I use the link below with my app ID. I don't see any pagination info in the json. Am i missing something? https://api.instagram.com/v1/media/popular?client_id=CLIENT-ID or https://api.instagram.com/v1/media/popular?client_id=CLIENT-ID&count=10

推荐答案

如果请求的用户的提要中的帖子数少于默认查询数,则分页信息将为空.换句话说,如果instagram帐户只有五张图片,则没有分页信息.

The pagination information will be empty if the requested user's feed has fewer posts than the default query count. In other words, if the instagram account only has five pictures, there is no pagination info.

这篇关于Instagram API中缺少分页信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆