In this session, we will focus on different approaches of getting data from Twitter’s various APIs. We will be using the example scripts provided in our tutorial.
We will collect data through Twitter’s Streaming APIs using as selectors keywords, hashtags, and user names. We will also use Twitter’s REST APIs to collect messages using specific keywords or hashtags posted during the last seven days and to collect messages from users’ tweet archives.
In preparation for the session have a look at the mandatory readings and Twitter’s documentation of its Streaming and REST APIs as well as the API objects found in metadata to specific tweets.
Mandatory Readings:
- Pascal Jürgens and Andreas Jungherr (2016) A Tutorial for Using Twitter Data in the Social Sciences: Data Collection, Preparation, and Analysis. Social Science Research Network (SSRN). doi: 10.2139/ssrn.2710146, pp. 21-28.