echen102 / COVID-19-TweetIDs

The repository contains an ongoing collection of tweets IDs associated with the novel coronavirus COVID-19 (SARS-CoV-2), which commenced on January 28, 2020.
Other
712 stars 305 forks source link

twarc configure and hydrate issue #28

Closed gklabs closed 4 years ago

gklabs commented 4 years ago

I ran twarc configure and entered the consumer and API keys that it asks for. Yet when executing python3 hydrate.py the following error throws up image

echen102 commented 4 years ago

Hi @gklabs , there may be something wrong with your configuration file, and I would double check that you've supplied all four tokens needed. I believe you can also directly set environment variables, instead of using the configuration file. Please see : https://pypi.org/project/twarc/ , which has a walk through of how to set up your environment variables.

echen102 commented 4 years ago

Hi @gklabs if you don't have any other issues, I'm going to go ahead and close this. Please feel free to reach out if you run into any issues. If Twarc isn't working, you might want to try DocNow's Hydrator which provides a GUI where you can configure settings and check to see if it's an issue with your tokens and keys.

gklabs commented 4 years ago

Thank you, I used the Hydrator to get the tweets.