Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Search" and "likes" mode do not use all available APIs #25

Open
nadesai opened this issue Feb 7, 2022 · 1 comment
Open

"Search" and "likes" mode do not use all available APIs #25

nadesai opened this issue Feb 7, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@nadesai
Copy link
Contributor

nadesai commented Feb 7, 2022

Both modes only pass apis[0] into the relevant method, even when multiple APIs are available.

For "search" mode, this may make sense, since the number of tweets returned by the search is likely bounded by the 7-day search limit. However, for a particularly popular query and a high max_count, this bound may be very high and API reuse could help speed up the query.

There is no time bound on API queries for favorites, and here it definitely makes sense to allow for multiple API usage.

I don't know exactly how the Twitter API rate limiting works for such queries, so the above may be entirely invalid.

@eleurent
Copy link
Owner

eleurent commented Feb 8, 2022

I completely agree! It should be quite straightforward to implement, I think, similarly to what is done for friendships.

@eleurent eleurent self-assigned this Feb 8, 2022
@eleurent eleurent added the enhancement New feature or request label Feb 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants