[twitter-dev] Re: How to get the number of pages in user's timeline
I'm pretty sure all tweet IDs are in a single global ordering, so "1 week ago" is the same numerical ID (for the since_id) param for every user account. So you could post a single tweet (or similar) every day and use this to build a "date to ID" mapping over time... then you'll know an ID to use to indicate "1 week ago" for any given date past when you started (and it's pretty simple to build a historical table) - then you can experiment with using the user/timeline API with "since_id" (and "max_id" too if needed) Don't know for sure it would work, but from what you've explained so far, that's the sort of thing I'd experiment with first... -- T -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: How to get the number of pages in user's timeline
I think I spoke to soon. The "statuses_count" won't work in the case when I use the "since_status" parameter of the timeline because I may not wont to retrieve the whole timeline for the user but only the statuses for the last week. In this case I don't know how many pages are in the timeline. Any other suggestions? On Apr 16, 2:11 am, Tim Meadowcroft wrote: > The users/show API includes a "statuses_count" field which tells you how > many tweets the user has posted > > http://dev.twitter.com/doc/get/users/show -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: How to get the number of pages in user's timeline
Thanks Tim! I think that will work. On Apr 16, 2:11 am, Tim Meadowcroft wrote: > The users/show API includes a "statuses_count" field which tells you how > many tweets the user has posted > > http://dev.twitter.com/doc/get/users/show -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: How to get the number of pages in user's timeline
The users/show API includes a "statuses_count" field which tells you how many tweets the user has posted http://dev.twitter.com/doc/get/users/show -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk