Is the Sample Good Enough? Comparing Data from Twitter's Streaming API with Twitter's Firehose

By Fred Morstatter, Jürgen Pfeffer, Huan Liu, Kathleen M. Carley. 2013

1,032 citations recorded by the source corpus.

Twitter is a social media giant famous for the exchange of short, 140-character messages called "tweets". In the scientific community, the microblogging site is known for openness in sharing its data. It provides a glance into its millions of users and billions of tweets through a "Streaming API" which provides a sample of all tweets matching some parameters preset by the API user. The API service has been used by many researchers, companies, and governmental institutions that want to extract knowledge in accordance with a diverse array of questions pertaining to social media. The essential drawback of the Twitter API is the lack of documentation concerning what and how much data users get. This leads researchers to question whether the sampled data is a valid representation of the overall activity on Twitter. In this work we embark on answering this question by comparing data collected using Twitter's sampled API service with data collected using the full, albeit costly, Firehose stream that includes every single published tweet. We compare both datasets using common statistical metrics as well as metrics that allow us to compare topics, networks, and locations of tweets. The results of our work will help researchers and practitioners understand the implications of using the Streaming API.

Subfields: Information Systems, Statistical and Nonlinear Physics, Evaluation & Benchmarks

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. Emilio Ferrara
  2. David M. Beskow
  3. Kristina Lerman
  4. Adam Badawy
  5. Filippo Menczer
  6. Huan Liu
  7. Onur Varol
  8. Alessandro Flammini

In Statistical and Nonlinear Physics

  1. Alexandra Olteanu
  2. Carlos Castillo
  3. Emilio Ferrara
  4. Fernando Diaz
  5. Kristina Lerman
  6. Jürgen Pfeffer
  7. Emre Kıcıman
  8. Huan Liu

In Evaluation & Benchmarks

  1. Emilio Ferrara
  2. Huan Liu
  3. Fred Morstatter
  4. Brendan T. O'Connor
  5. Brent J. Hecht
  6. Monica Stephens
  7. Su Lin Blodgett
  8. Jürgen Pfeffer

Citations in the corpus