-
Notifications
You must be signed in to change notification settings - Fork 255
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
max_results=500
incompatible with tweet.fields=context_annotations
#504
Comments
This will be an interesting one for Twitter to explain in their documentation. We should have some fun with this when we implement "support" for it in twarc. |
Ok it's a permanent change https://twittercommunity.com/t/max-results-and-context-annotations/156427/2?u=igorbrigadir So the decision for us is - by default - do we:
|
Yeah, I agree: 1 now and 3 maybe later. The silver lining here is that this really only adversely effects search/all for Academic Research product track accounts, which is constrained by the monthly quota. You could collect ~ 130,000,000 tweets per month at the rate of 100 every 2 seconds, which is well over the 50,000,000 limit. So being able to collect 5 times as many tweets in each request won't help too much. If they start to make higher tiers of research access available then 3 might become more important? |
It's fixed in |
Ok lets close and revisit it if/when it needs adjustment. |
Twitter now restricts
max_results
to be 100 instead of 500 iftweet.fields=context_annotations
is used.Currently twarc requests all fields and expansions, so this effectively limits us to only request 100 tweets per call.
The trade-off here is: request 500 tweets without the context annotations, or request 100 with. Requesting 100 will make retrieval slower.
Related to #493
As a stopgap, i committed a change to make the limit 100.
The text was updated successfully, but these errors were encountered: