How to Hydrate Tweets using Twython

Tiya Vaj
1 min readJun 21, 2022

According to Twitter’s Terms of Service, the complete JSON for datasets of tweets is not allowed to be provided to third parties; however, they allow the sharing of tweet ID datasets. Twython is a Python package that makes accessing Twitter data simple by importing the tweet id and Twython will extract the full JSON Twitter file for you.

The dataset that I will use today is covid-19-vaccination-stance-detection, which can be downloaded at the below link.

The dataset has been collected from COVID-19 vaccines Twitter with 3249 tweets annotated with the stance reflected in the categories “against” (0), “neutral” (1), and “in favor” (2).

References :

--

--

Tiya Vaj

Ph.D. Research Scholar in NLP and my passionate towards data-driven for social good.Let's connect here https://www.linkedin.com/in/tiya-v-076648128/