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

  1. Fernando Diaz
  2. Alexandra Olteanu
  3. Carlos Castillo
  4. Emre Kıcıman
  5. Hamed Zamani
  6. Jimmy J. Lin
  7. W. Bruce Croft
  8. Nick Craswell

In Sociology and Political Science

  1. Alexandra Olteanu
  2. Fernando Diaz
  3. Carlos Castillo
  4. Emre Kıcıman
  5. Gabriella Kazai
  6. Ricardo A. Baeza-Yates
  7. Muhammad Imran
  8. Angelina Wang

In Statistical and Nonlinear Physics

  1. Alexandra Olteanu
  2. Fernando Diaz
  3. Carlos Castillo
  4. Emre Kıcıman
  5. Muhammad Imran

Citations in the corpus