Skip to main content
QUICK REVIEW

[Paper Review] This Sample seems to be good enough! Assessing Coverage and Temporal Reliability of Twitter's Academic API

Jürgen Pfeffer, Angelina Mooseder|arXiv (Cornell University)|Apr 4, 2022
Web Data Mining and AnalysisComputer Science14 citations
TL;DR

This study evaluates Twitter's Academic API v2 for data completeness and temporal reliability, demonstrating it enables near-complete sampling of historical tweets via full-archive access. It finds v2 outperforms v1.1, minimizes data loss over time, and offers better compliance with data minimization principles, supporting more reliable social media research with transparent, reproducible methods.

ABSTRACT

Because of its willingness to share data with academia and industry, Twitter has been the primary social media platform for scientific research as well as for consulting businesses and governments in the last decade. In recent years, a series of publications have studied and criticized Twitter's APIs and Twitter has partially adapted its existing data streams. The newest Twitter API for Academic Research allows to "access Twitter's real-time and historical public data with additional features and functionality that support collecting more precise, complete, and unbiased datasets." The main new feature of this API is the possibility of accessing the full archive of all historic Tweets. In this article, we will take a closer look at the Academic API and will try to answer two questions. First, are the datasets collected with the Academic API complete? Secondly, since Twitter's Academic API delivers historic Tweets as represented on Twitter at the time of data collection, we need to understand how much data is lost over time due to Tweet and account removal from the platform. Our work shows evidence that Twitter's Academic API can indeed create (almost) complete samples of Twitter data based on a wide variety of search terms. We also provide evidence that Twitter's data endpoint v2 delivers better samples than the previously used endpoint v1.1. Furthermore, collecting Tweets with the Academic API at the time of studying a phenomenon rather than creating local archives of stored Tweets, allows for a straightforward way of following Twitter's developer agreement. Finally, we will also discuss technical artifacts and implications of the Academic API. We hope that our work can add another layer of understanding of Twitter data collections leading to more reliable studies of human behavior via social media data.

Motivation & Objective

  • To evaluate the completeness and temporal reliability of Twitter's Academic API for historical data collection.
  • To compare the performance of API v2 versus v1.1 in retrieving historic tweets.
  • To measure the rate of tweet loss over time due to deletion or protection.
  • To assess compliance with Twitter’s developer agreement and data minimization principles.
  • To provide researchers with actionable recommendations for reliable, ethical data collection.

Proposed method

  • Conducted full-archive searches using diverse keywords across multiple time periods to assess coverage.
  • Re-collected historic tweets using the Academic API and compared results with original data to detect missing tweets.
  • Used error messages from the API to identify tweets that were deleted or protected at time of retrieval.
  • Performed controlled experiments comparing data collection via Academic API v2 and v1.1 endpoints.
  • Collected data via the costly Twitter Premium API for benchmarking accuracy and completeness.
  • Analyzed long-term decay of tweet availability by re-collecting the same queries at multiple time points.

Experimental results

Research questions

  • RQ1To what extent does the Twitter Academic API v2 provide complete samples of historical tweets for diverse search terms?
  • RQ2How does the data completeness of API v2 compare to the previous v1.1 endpoint?
  • RQ3What proportion of tweets are lost over time due to deletion or protection during full-archive searches?
  • RQ4How can researchers ensure compliance with Twitter’s developer agreement when collecting data via the Academic API?
  • RQ5What technical artifacts and data collection artifacts affect the reliability of Twitter data collected through the Academic API?

Key findings

  • The Academic API v2 enables near-complete sampling of Twitter data across diverse keywords and time periods, with minimal missing tweets.
  • API v2 consistently outperforms v1.1 in data completeness, particularly in retrieving older and less frequently tweeted content.
  • Only a small fraction of tweets (less than 5%) are lost over time due to deletion or protection, indicating strong temporal reliability.
  • The Academic API supports compliance with data minimization principles by allowing explicit field selection, reducing risk under GDPR.
  • Collecting data at the time of analysis rather than storing local archives simplifies adherence to Twitter’s developer agreement.
  • Technical artifacts such as delayed or inconsistent data delivery were observed, suggesting architectural separation between real-time and archival systems.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.