timeline-viewing

Collect and export X timeline posts as JSON via browser console scripts.

443|88|Updated Feb 18, 2024
One-click install
npx skills add https://github.com/nirholas/XActions --skill timeline-viewing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: timeline-viewing
Source: https://github.com/nirholas/XActions/tree/main/skills/timeline-viewing
Command: npx skills add https://github.com/nirholas/XActions --skill timeline-viewing

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Switch between For You / Following timelines, auto-scroll and collect posts, scrape timeline data, and export as JSON. Use when users want to browse, collect, or export tweets from their X timeline.

Core Features & Use Cases

  • Switch between timelines (For You / Following) in the session.
  • Auto-scroll and collect visible posts to build a dataset.
  • Scrape timeline posts into structured data and export as JSON for analysis or reporting.
  • Use case: archive a week's timeline for research or content analysis.

Quick Start

Open x.com/home in your browser, open DevTools, paste src/timelineViewer.js into the console, and run it to start collecting posts and export them as JSON.

Frequently Asked Questions about timeline-viewing

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

FAQPage Schema
How do I scrape and export X timeline posts as JSON?

To scrape and export X timeline posts as JSON, paste a browser console script into DevTools on x.com/home, auto-scroll to collect visible tweets, and run the export command to save the structured dataset.

Can I collect posts from both the For You and Following timelines on X?

Yes, you can collect posts from both timelines. The script includes options to switch between the For You and Following timelines within your active browser session before auto-scrolling to capture visible tweets.

Do I need any browser extensions to scrape my X timeline data?

No browser extensions are needed. You only require a standard web browser with DevTools to paste and execute JavaScript console scripts directly on the x.com/home page to capture timeline data.

How do I limit the number of tweets collected when scraping an X timeline?

You can limit the post count by configuring the script options before execution. The tool auto-scrolls the timeline to collect visible posts and stops when it reaches your specified limit for the JSON export.

What is the best way to archive a week of X timeline data for research?

Archiving X timeline data for research is done by running a console script in your browser to auto-scroll and collect timeline posts, exporting the structured results as a JSON file for subsequent analysis or reporting.