A Multi-Platform Collection of Social Media Posts about the 2022 U.S. Midterm Elections

Rachith Aiyappa, Matthew R. DeVerna, Manita Pote, Bao Tran Truong, Wanying Zhao, David Axelrod, Aria Pessianzadeh, Zoher Kachwala, Munjung Kim, Ozgur Can Seckin, Minsuk Kim, Sunny Gandhi, Amrutha Manikonda, Francesco Pierri, Filippo Menczer, Kai-Cheng Yang

TL;DR

The paper introduces MEIU22, a comprehensive, multi-platform dataset tracking public discourse and candidate activity during the 2022 U.S. midterm elections across Twitter, Facebook, Instagram, Reddit, and 4chan. By providing synchronized, cross-platform data alongside open-source collection pipelines, the authors enable researchers to study the broader information ecosystem and track how political discussions, polarization, and disinformation migrate across different social networks.

What Problem Does This Paper Address?

Most social media research is siloed within individual platforms—historically favoring Twitter due to its open API access in the past. However, real-world information ecosystems are deeply interconnected; users navigate multiple platforms, and disinformation campaigns routinely deploy cross-platform strategies.

Studying these dynamics holistically has been notoriously difficult. Researchers typically have to stitch together disparate datasets collected at different times, using inconsistent methodologies, and lacking unified data-sharing protocols. The authors address this gap by providing a topic-consistent, temporally synchronized dataset spanning five major social media platforms during the 2022 U.S. midterm election season (October 1 to December 25, 2022).

Methods

The authors built a distributed data collection infrastructure hosted on two Jetstream virtual machines (VMs): one dedicated to raw data ingestion and another for computationally heavy data cleaning, analysis, and hosting a public dashboard.

Figure 1: Architecture of the MEIU22 data collection and analysis system. Data flows in the direction of the arrows.

The data collection strategy relies on two main pillars:

  1. Keyword-Based General Collection: To ensure cross-platform comparability, the team generated a unified keyword list using an iterative snowball sampling procedure. Starting with unambiguous seed phrases, they collected data, identified the top 50 co-occurring unigrams and bigrams per platform, and manually filtered out overly broad terms (e.g., excluding "abortion" to avoid general health debates, but keeping "mail-in vote").
  2. Candidate Tracking: They manually curated a list of 1,011 U.S. congressional candidates who advanced to the general election, mapping out 4,508 associated handles across platforms to track their direct communications.

Platform-Specific Ingestion & Cleaning

Because APIs vary drastically, the authors tailored their ingestion mechanisms:

  • Twitter: Utilized the v1 streaming API for real-time keyword matching and candidate tracking.
  • Facebook & Instagram: Queried CrowdTangle's search and post endpoints daily to capture public page and group data, alongside political advertisements via the Meta Ad Library API.
  • Reddit: Leveraged the Pushshift API to pull matching submissions and comments daily.
  • 4chan: Focused on the /pol (Politically Incorrect) board. Because 4chan is ephemeral, they deployed a dual approach: scraping the catalog endpoint every 5 minutes to capture new threads, and monitoring the archive endpoint every 10 minutes to fetch completed, archived threads with all their replies intact.

To combat massive post-election noise (e.g., fan voting for the American Music Awards or foreign elections using words like "vote"), the authors implemented aggressive post-collection cleaning. They used negative hashtag lists for Twitter and TF-IDF-driven unigram filtering for Meta and Reddit.

Datasets

The primary contribution is the MEIU22 dataset, which includes:

  • Twitter: Tweet IDs (requiring re-hydration to comply with Twitter's TOS).
  • Facebook & Instagram: Public post URLs and Meta Ad page IDs.
  • Reddit & 4chan: Full text of submissions, comments, and threads (as these platforms lack strict sharing restrictions).
  • Candidate List: A mapped dataset of 4,508 social media handles for 1,011 candidates.

The authors also open-sourced the entire collection pipeline on GitHub to facilitate replication in future election cycles.

Key Insights and Ideas

  • The Post-Election Noise Spike: A major "aha moment" for data quality is that precision drops significantly after Election Day. While pre-election data is highly relevant, post-election streams are heavily contaminated by pop-culture events (like award show voting) that co-opt keywords like "vote" and "election."
  • Policy-Driven Data Drops: The dataset clearly captures the impact of platform governance. Meta's strict restriction on election-related advertising between November 1 and November 8 caused an immediate, drastic drop in ad volume right before the election, highlighting how platform policies alter the digital ecosystem's landscape.
  • API Matching Quirks: The authors noted that Twitter's streaming API matches keywords anywhere in a tweet regardless of order. For instance, a search for "midterms 2022" returns any tweet containing both words, creating a higher volume of both true and false positives compared to the strict phrase matching of other platform APIs.

Key Results

The pipeline captured millions of posts, with volume heavily peaking around Election Day (November 8) and showing a secondary minor peak during the Georgia runoff (December 6).

Figure 2: Daily volume of midterm-related posts collected through the keyword-matching approach from each plat- form. For Reddit, we combine the number of submissions and comments together. For the advertisements, we com- bine the number on Facebook and Instagram. We annotate the election day, i.e., November 8, and the day of the Geor- gia runoff, i.e., December 6.

Quantitatively, the dataset consists of:

  • Twitter: 6,242,412 keyword tweets; 638,448 candidate tweets across 1,237 handles.
  • Facebook: 304,106 keyword posts; 259,385 candidate posts across 1,209 handles.
  • Instagram: 35,314 keyword posts.
  • Reddit: 160,773 submissions/comments.
  • Meta Ads: 5,352 unique political advertisements.

Manual annotation of 860 sampled posts per platform validated the efficacy of their cleaning pipeline. Reddit maintained the highest overall precision (0.92), while Twitter (0.89) and Meta (0.88) saw noticeable precision drops in the post-election period due to cultural award voting noise.

Limitations and Future Work

The authors candidly note several limitations:

  • Missing Platforms: Due to a lack of programmatic API access, highly influential platforms like YouTube and TikTok, as well as alternative networks like Parler and Truth Social, are excluded.
  • Data Sharing Barriers: Compliance with platform terms of service means users must "re-hydrate" Twitter and Meta data via URLs and IDs. This poses a significant risk for future reproducibility, particularly given Twitter/X's subsequent decisions to restrict free API access.
  • Keyword Exhaustiveness: While comprehensive, the snowball sampling method inherently risks missing niche keywords or excluding terms that generate high false-positive rates.

Summary updated

Abstract

Social media are utilized by millions of citizens to discuss important political issues. Politicians use these platforms to connect with the public and broadcast policy positions. Therefore, data from social media has enabled many studies of political discussion. While most analyses are limited to data from individual platforms, people are embedded in a larger information ecosystem spanning multiple social networks. Here we describe and provide access to the Indiana University 2022 U.S. Midterms Multi-Platform Social Media Dataset (MEIU22), a collection of social media posts from Twitter, Facebook, Instagram, Reddit, and 4chan. MEIU22 links to posts about the midterm elections based on a comprehensive list of keywords and tracks the social media accounts of 1,011 candidates from October 1 to December 25, 2022. We also publish the source code of our pipeline to enable similar multi-platform research projects.
BibTeX
@misc{aiyappa2023multi,
  author = {Rachith Aiyappa and Matthew R. DeVerna and Manita Pote and Bao Tran Truong and Wanying Zhao and David Axelrod and Aria Pessianzadeh and Zoher Kachwala and Munjung Kim and Ozgur Can Seckin and Minsuk Kim and Sunny Gandhi and Amrutha Manikonda and Francesco Pierri and Filippo Menczer and Kai-Cheng Yang},
  title = {{A Multi-Platform Collection of Social Media Posts about the 2022 U.S. Midterm Elections}},
  year = {2023},
  eprint = {2301.06287},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2301.06287},
}
Figure