-
Notifications
You must be signed in to change notification settings - Fork 45
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
Twitter query: what's the query length size limit ? #136
Comments
https://developer.twitter.com/en/docs/tweets/search/api-reference/get-search-tweets.html suggests the limit should be 500 characters. Your query is certainly shorter than that. We'll look into it. |
I finally looked into this. The query size limit is 500 URL-encoded characters. Your big query is 497. so it's valid. Twitter runs it and returns no results. Why no results? Because there is no tweet matching that query within the past 7 days. (The most recent tweet is Aug. 9.) According to the Twitter API docs:
If this surprises you, it's probably because your search seems to have a typo: it's missing an OR next to "dadosabertos". This works for me: (min_retweets:10) OR (min_faves:10) opendata OR ("open data") OR ("dati aperti") OR ("dati pubblici") OR ("dato aperto") OR ("dato pubblico") OR ("données publiques") OR ("Verwaltungsdaten festgelegt") OR ("offene Verwaltungsdaten") OR ("DATOS ABIERTOS") OR ("avoin data") OR "avoindata" OR "datosabiertos" OR DadesObertes OR ("DadesObertes") OR dadosabertos OR ("dados abertos") |
Hi @adamhooper the error was in syntax. I had to add an From
to
Thank you for your time |
Hi,
I have built this query "(min_retweets:10) OR (min_faves:10) opendata OR ("open data") OR ("dati aperti") OR ("dati pubblici") OR ("dato aperto") OR ("dato pubblico") OR ("données publiques") OR ("Verwaltungsdaten festgelegt") OR ("offene Verwaltungsdaten") OR ("DATOS ABIERTOS") OR ("avoin data") OR "avoindata" OR "datosabiertos" OR DadesObertes OR ("DadesObertes") dadosabertos OR ("dados abertos")", but it does not work in workbenchdata.
If I use this shorter one "(min_retweets:10) OR (min_faves:10) opendata OR ("open data") OR ("dati aperti") OR ("dati pubblici") OR ("dato aperto") OR ("dato pubblico") OR ("données publiques") OR ("Verwaltungsdaten festgelegt") OR ("offene Verwaltungsdaten") OR ("DATOS ABIERTOS") OR ("avoin data") OR "avoindata"", it works.
What's the query length size limit ?
Thank you
The text was updated successfully, but these errors were encountered: