Tampering with Twitter’s Sample API
Jürgen Pfeffer, Katja Mayer, Fred Morstatter · EPJ Data Science · 2018
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.
Cited by 134 works. doi:10.1140/epjds/s13688-018-0178-0 Open-access PDF
Authors
References
- A Mathematical Theory of Communication
- Opinion Mining and Sentiment Analysis
- Opinion Mining and Sentiment Analysis
- Earthquake shakes Twitter users
- Big data: a revolution that will transform how we live, work, and think
- VADER: A Parsimonious Rule-Based Model for Sentiment Analysis of Social Media Text
- Computational Social Science
- Twitter as a Corpus for Sentiment Analysis and Opinion Mining
- Predicting Elections with Twitter: What 140 Characters Reveal about Political Sentiment
- From Tweets to Polls: Linking Text Sentiment to Public Opinion Time Series