开发者

Pagination - Twitter's people you follow

im developing an Android application for twitter that will sync data coming from the people you follow.

The problem is that:

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

provides me the last 100 persons ive followed and i wanted to display only 20 for each 'page'.

I believe that the 'cursor' parameter doesnt do what i need, so i'm trying to figure out a way to store it.

Can you guys give m开发者_高级运维e enlightenment?

Thanks in advance


You should be able to add a parameter count=, and combine this with the cursor parameter. Try

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜