question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

from_date or until_date

See original GitHub issue

Hi,

Thanks for your amazing work. I’m trying to get tweets from a specific period. For instance, I tried:

twarc search '(from:jlincio) until:2017-09-01 since:2017-04-01' > search.jsonl

`twarc search @jlincio
–from_date 2017-04-01
–to_date 2017-09-01
–limit 1000 \

tweets.jsonl`

@jlincio is my account. In either case, I get an empty file.

If I use:

twarc search 'from:jlincio until:2017-09-01' > search.jsonl

I get data but the query doesn’t use the date.

I would highly appreciate any help,

Thanks.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
SamHamescommented, Aug 6, 2020

Unfortunately the free Twitter search API that twarc uses for that command only makes the last 7 days of tweets available (searching further back through the API requires the paid premium access).

If you’re only interested in your own tweets you might be able to retrieve your own timeline: twarc timeline > my_tweets.jsonl (assuming twarc is authenticated as the jlincio user), or the twitter archive download when that comes back online.

1reaction
jinciocommented, Aug 6, 2020

And if you are looking for someone else’s tweets (or your own) you can use twint which scrapes the web interface, so YMMV:

twint --search 'from:jlincio until:2017-09-01 since:2017-04-01' --csv --output tweets.csv

It works well! Thanks so much.

Read more comments on GitHub >

github_iconTop Results From Across the Web

sql server - How to get latest until date and everything from ...
This returns all rows from the last two days, and the most recent row for those that do not have a row within...
Read more >
From/until or From/to? - english grammar fromuntil
"From *date* until *date" or "From *date* to *date*"? Grammarians hope me! I imagine it may be a point of emphasis, ...
Read more >
Calculate the working days between two dates
DaysUsed = If(DATEDIFF([FromDate], [UntilDate],DAY) = 0, 1, ... is 22 daysUsed for the dates: FromDate: 09 Jan 2019 | UntilDate: 31 Jan 2019....
Read more >
"Since", "until", "from", "to" on invoices or date ranges of a form
Does "until [date]" mean "before that date"? ... What's the correct (or best) way to express "from [date] to [date]"?
Read more >
Calculate days from/before date in Excel - Ablebits
Days from/before date calculator (result is a date); Days since/until date counter (result is the number of days); Calculate days from date ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found