x-tweet-by-conversation

Extracts all tweets in an X conversation thread via browser network capture.

5.5k|269|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/browser-act/skills --skill x-tweet-by-conversation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: x-tweet-by-conversation
Source: https://github.com/browser-act/skills/tree/main/solutions/social-listening/x-tweet-by-conversation
Command: npx skills add https://github.com/browser-act/skills --skill x-tweet-by-conversation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Collecting every reply and sub-reply in an X (Twitter) conversation thread manually is slow and error-prone, especially for long viral threads. This Skill automates full thread extraction from a logged-in browser session, returning normalized per-tweet data with engagement metrics and reply-tree mapping.

Core Features & Use Cases

  • Full Thread Harvesting: Given a conversation id (root tweet id), captures the focal tweet plus all replies and sub-replies via the TweetDetail GraphQL endpoint, with scroll-based pagination and cursor tracking.
  • Normalized Tweet Output: Each tweet includes text, author profile, engagement counts (likes, retweets, replies, views), media, hashtags, mentions, and in_reply_to mapping so the reply tree can be reconstructed downstream.
  • Use Case: A social listening analyst wants to run sentiment analysis on a controversial viral tweet. Provide the conversation id, and the Skill paginates through the entire thread, de-duplicates by tweet id, and outputs structured JSON ready for analysis.

Quick Start

Use the x-tweet-by-conversation skill to scrape all replies in the X conversation with id 2069990565530214798 and return the normalized tweet list.

Frequently Asked Questions about x-tweet-by-conversation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scrape all replies to a tweet on X (Twitter)?

Provide the conversation id, which equals the root tweet id. The Skill navigates to the tweet detail URL in a logged-in browser session, captures TweetDetail GraphQL responses, and paginates by scrolling until all replies and sub-replies are collected.

How to extract a full Twitter conversation thread with pagination?

The Skill scrolls the tweet detail page to trigger new TweetDetail requests, where X inserts the previous cursor_bottom into the next request. Parsing stops when a page returns zero tweets, the cursor stops advancing, or your target reply count is reached.

Does scraping X conversations require being logged in?

Yes, an active X session is required. The Skill only reads tweet data already visible to the logged-in user and never bypasses authentication; if a sign-in prompt appears, it asks you to log in before continuing.

Why does tweet scraping return zero results for some conversations?

A deleted or protected root tweet returns a TweetTombstone entry, which the parser filters out, yielding count zero. Replies hidden by X visibility filters, such as blocked accounts or offensive-content gates, are also not returned.

What are the limitations of scraping Twitter threads via browser network capture?

Only replies visible to your session are collected, quote tweets live in a separate timeline and are excluded, and view counts may be null on very new replies. Sustained polling should stay under roughly 150 timeline calls per 15-minute window to avoid throttling.