Giter VIP home page Giter VIP logo

Comments (3)

adamhooper avatar adamhooper commented on May 19, 2024

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.

from cjworkbench.

adamhooper avatar adamhooper commented on May 19, 2024

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:

Keep in mind that the search index has a 7-day limit. In other words, no tweets will be found for a date older than one week.

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")

from cjworkbench.

aborruso avatar aborruso commented on May 19, 2024

Hi @adamhooper the error was in syntax. I had to add an OR.

From

(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")

to

(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")

Thank you for your time

from cjworkbench.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.