<p>The here available Twitter data (tweet IDs) was originally collected
live, using the official Twitter REST API search endpoint, following their terms of
service and developer guidelines. </p><p><br></p>
<p>Tweet IDs are usually 18-19 long numeric IDs, and these tweet
IDs can be rehydrated, which is a simple process involving sending requests to
the official Twitter API /statuses/lookup endpoint with tweet IDs uniquely
identifying a tweet, and Twitter responding appropriately with the tweet and
metadata. This helps ensure that if a user has set their account to private or
deleted their tweet, effectively withdrawing consent, their tweet would not be
available for further analysis. </p>
<p><br></p><p>There are several convenient utilities that researchers can
use to rehydrate Twitter data from tweet IDs. One such tool is the DocNow
Hydrator, available at <a href="https://github.com/DocNow/hydrator">https://github.com/DocNow/hydrator</a>,
as well as a useful detailed guide on how to go about it, available at <a href="https://programminghistorian.org/en/lessons/beginners-guide-to-twitter-data#hydrating">https://programminghistorian.org/en/lessons/beginners-guide-to-twitter-data#hydrating</a>.</p>