gpt4 book ai didi

android - 分页 - 你关注的推特人

转载 作者:行者123 更新时间:2023-11-30 04:52:21 25 4
gpt4 key购买 nike

我正在为 Twitter 开发一个 Android 应用程序,它将同步来自您关注的人的数据。

问题在于:

http://api.twitter.com/1/statuses/friends.json

为我提供了我关注的最后 100 个人,我只想为每个“页面”显示 20 个。

我认为“游标”参数不能满足我的需要,所以我想找出一种方法来存储它。

各位大神能给个启发吗?

提前致谢

最佳答案

您应该能够添加一个参数 count=,并将其与游标参数组合。尝试

http://api.twitter.com/1/statuses/friends.json?count=20&cursor=-1

关于android - 分页 - 你关注的推特人,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2901718/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com