Skip to content
This repository has been archived by the owner on Apr 11, 2019. It is now read-only.

userTimeline by date range #112

Open
alanault opened this issue Feb 11, 2016 · 2 comments
Open

userTimeline by date range #112

alanault opened this issue Feb 11, 2016 · 2 comments

Comments

@alanault
Copy link

Although the searchTwitter function allows you to specify time periods with the since/until arguments, the userTimeline function doesn't seem to allow this.

There is a "sinceID" field, but this requires you to know the ID of the tweet you'd like to use as the age reference.

Is there a way to specify dates using userTimeline, or is this an underlying limitation of the API?

@alanault
Copy link
Author

Got around this by doing a query for n posts, storing the last id, saving out a table and then querying based on this, but seems like a long way around....

@geoffjentry
Copy link
Owner

It is indeed a limitation of the API. However I've simulated that behavior in other places. I'll try to do this when I get a chance.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants