Since the Timeline will only return 20 results...

1 view
Skip to first unread message

Michael

unread,
Oct 1, 2009, 11:41:10 PM10/1/09
to twitter4r-users
Since the Timeline will only return 20 results is there anyway to see
how many pages that are available?

Bashar

unread,
Oct 5, 2009, 3:54:55 AM10/5/09
to twitter4r-users
Trying

curl --user <username>:<password> http://twitter.com/statuses/friends_timeline.rss?page=<pagenumber>

from terminal, I could go up to page 40 only. After that I get empty
results. Ofcourse I sure have more than 40 pages of results. What
about you?

jnicho02

unread,
Dec 2, 2009, 9:00:04 AM12/2/09
to twitter4r-users
If you give it a count then you it will pull more than 20.

e.g. timeline = twitter.timeline_for(:user, :id => 'xyzxyz', :count =>
100 )

Bashar

unread,
Dec 2, 2009, 2:28:19 PM12/2/09
to twitter4r-users
Indeed, but eventually both methods end up with 800 tweets max. 40 *
20 or 100 * 8 (which is max I got with :count => 100)
Reply all
Reply to author
Forward
0 new messages