🏯 Tweet Scraper V2 (Pay Per Result) - X / Twitter Scraper avatar
🏯 Tweet Scraper V2 (Pay Per Result) - X / Twitter Scraper
Try for free

Pay $0.30 for 1,000 tweets

View all Actors
🏯 Tweet Scraper V2 (Pay Per Result) - X / Twitter Scraper

🏯 Tweet Scraper V2 (Pay Per Result) - X / Twitter Scraper

apidojo/tweet-scraper
Try for free

Pay $0.30 for 1,000 tweets

⚡️ Lightning-fast search, URL, list, and profile scraping, with customizable filters. At $0.30 per 1000 tweets, and 30-80 tweets per second, it is ideal for researchers, entrepreneurs, and businesses! Get comprehensive insights from Twitter (X) now!

RG

Documentation doubt

Closed

argsoftware opened this issue
2 months ago

So in the documentation, we can use several options. My doubt which is not clear on the documentation is, if we use the search terms for looking for hashtags and mentions do we need to provide all in a unique query or can we split it into several search terms? If I want to look for 3 hashtags and one mention from a specific date range should I do: searchterms: [ "#hash1 fromDate: 21/07/2020", "@mention1 fromDate: 21/07/2020", "#hash2 fromDate: 21/07/2020" ]

or { searchterms = ["((#hash1 or #hash2 or @mention1) fromDate 20/07/2021")]

If both work what is the recommended?

Also, the rest of the filters work on the input work always in association or have an independent behaviour?

Thank you

apidojo avatar

API Dojo (apidojo)

2 months ago

Hey hey,

You can definitely split them into several queries, that's up to you. If you plan to build an OR query, actually it would be the best to split them. The big reason is that, Twitter returns max ~800 tweets per query. So we always suggest adding since, until filters to split them into even more queries (month by month for example, or week by week, even day by day depending on the volume). You can check https://github.com/igorbrigadir/twitter-advanced-search to get more information about the queryes.

Also, if you are going to use searchTerms with queries you should provide all your filters in the query, that is the suggested way.

Cheers!

Also both of the examples you shard will end up

Developer
Maintained by Community
Actor metrics
  • 1.4k monthly users
  • 167 stars
  • 98.5% runs succeeded
  • 6.5 hours response time
  • Created in Nov 2023
  • Modified about 22 hours ago