Blogger Api V3中的分页 [英] Pagination in Blogger Api V3
问题描述
我如何获得10个帖子,然后获得较旧的10个帖子,依此类推 我的意思是分页 我在Blogger API V3中需要
how can i get 10 posts and then get the older 10 posts and so on i mean pagination i need this in blogger API V3
我尝试过
并尝试
开始索引在V3中似乎不起作用
start-index does not seem to be working in V3
即使我更改了start-index的值,它也不会更改回复
even if i changed the value of start-index .. it doesn't change the reply
有什么想法吗?
推荐答案
我发现,您可以找到名为"nextPageToken"的标签,它是一个字符串 您可以使用包含下一个页面ID的字符串,并将其添加到请求中的参数"pageToken"中,然后您将获得分页功能!
after checking the Blogger API V3 again and again i found that , u can find tag named "nextPageToken" and it is a string u can use this string that contain next page ID and add it to the parameter "pageToken" in the request and u ll get pagination feature work !
这篇关于Blogger Api V3中的分页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!