Tampering with Twitter’s Sample API
By Jürgen Pfeffer, Katja Mayer, Fred Morstatter. 2018
122 citations recorded by the source corpus.
Social media data is widely analyzed in computational social science. Twitter, one of the largest social media platforms, is used for research, journalism, business, and government to analyze human behavior at scale. Twitter offers data via three different Application Programming Interfaces (APIs). One of which, Twitter’s Sample API, provides a freely available 1% and a costly 10% sample of all Tweets. These data are supposedly random samples of all platform activity. However, we demonstrate that, due to the nature of Twitter’s sampling mechanism, it is possible to deliberately influence these samples, the extent and content of any topic, and consequently to manipulate the analyses of researchers, journalists, as well as market and political analysts trusting these data sources. Our analysis also reveals that technical artifacts can accidentally skew Twitter’s samples. Samples should therefore not be regarded as random. Our findings illustrate the critical limitations and general issues of big data sampling, especially in the context of proprietary data and undisclosed details about data handling.
Subfields: Information Systems, Sociology and Political Science, Statistical and Nonlinear Physics
How researchers see this paper
The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.
In Information Systems
- Fernando Diaz
- Alexandra Olteanu
- Carlos Castillo
- Emre Kıcıman
- Hamed Zamani
- Jimmy J. Lin
- W. Bruce Croft
- Nick Craswell
In Sociology and Political Science
- Alexandra Olteanu
- Fernando Diaz
- Carlos Castillo
- Emre Kıcıman
- Gabriella Kazai
- Ricardo A. Baeza-Yates
- Muhammad Imran
- Angelina Wang
In Statistical and Nonlinear Physics
Citations in the corpus
- Social Data: Biases, Methodological Pitfalls, and Ethical Boundaries (2019, background): “, 2011), and can (purposefully or accidentaly) distort the statistics of datasets collected from social platforms (Morstatter et al., 2016; Pfeffer et al., 2018).”