Skip to content

Twarc Tutorials

Documentation here is largely auto generated from the code, which may not always be the most user friendly. Others have written great totorials on using twarc, and these are linked here.

UVA Library's Scholars' Lab Twarc Tutorial

https://scholarslab.github.io/learn-twarc/

Great beginner guide that also goes through command line and Python setup. Uses twarc for v1.1 API examples, not twarc2.

Guide from TwitterDev

https://github.com/twitterdev/getting-started-with-the-twitter-api-v2-for-academic-research

Twitter have released a 101 guide on using the Academic Access endpoints. It uses twarc2 as a library as opposed to command line, and gives code examples in R too.

Twitter Data Collection & Analysis

https://melaniewalsh.github.io/Intro-Cultural-Analytics/04-Data-Collection/12-Twitter-Data.html

Lesson from Introduction to Cultural Analytics & Python

Getting Data from Twitter: A twarc tutorial

https://github.com/alblaine/twarc-tutorial

Uses twarc for v1.1 endpoints and has step by step examples for using some of the /utils scripts.

UCSB Library Twarc Tutorials

https://ucsb-collaboratory.github.io/twitter/

Uses both twarc and twarc2

Introduction to full archive searching using twarc v2

https://github.com/jeffcsauer/twarc-v2-tutorials/blob/master/twarc_fas.md

An example of using twarc2 search, but be sure to install twarc using pip install twarc not the link to the v2 branch zip.