问题描述
|
我不知道哪种方法更好:
我在我的应用程序中实现了一个Twitter阅读器。我使用以下网址:
http://api.twitter.com/1/statuses/user_timeline.json?user_id=26707287
这个网址给了我20条最新消息;很好,但现在我需要在列表中实现页脚按钮,以加载下20个提要。我不知道执行此操作的网址的正确格式是什么。
谢谢 !
解决方法
查看Twitter API文档:)
http://dev.twitter.com/doc/get/statuses/user_timeline
您可能对
count
和page
参数感兴趣。
我想你一定要用
http://api.twitter.com/1/statuses/user_timeline.json?user_id=26707287&count=20&page=1
对于第一页,
http://api.twitter.com/1/statuses/user_timeline.json?user_id=26707287&count=20&page=2
第二页
等等