Since the Timeline will only return 20 results...

已查看 1 次
跳至第一个未读帖子

Michael

未读,
2009年10月1日 23:41:102009/10/1
收件人 twitter4r-users
Since the Timeline will only return 20 results is there anyway to see
how many pages that are available?

Bashar

未读,
2009年10月5日 03:54:552009/10/5
收件人 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

未读,
2009年12月2日 09:00:042009/12/2
收件人 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

未读,
2009年12月2日 14:28:192009/12/2
收件人 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)
回复全部
回复作者
转发
0 个新帖子