views:

37

answers:

1

Hi guys, 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 me enlightenment?

Thanks in advance

+2  A: 

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

mccv
wow, i didnt think there was a count parameter! thank you mccv!
Philipz