Files
jackwener__opencli/docs/adapters/browser/twitter.md
AstroHan c0aea6c1ae fix(twitter): paginate following results
* fix(twitter/following): switch from INTERCEPT+autoScroll to COOKIE+cursor pagination

The previous INTERCEPT strategy relied on autoScroll to trigger Twitter's
pagination by scrolling document.body. Twitter's virtual list doesn't grow
document.body.scrollHeight, so scrolls stopped triggering API calls after
the first few pages, capping results at ~50 regardless of limit.

Now uses Strategy.COOKIE with explicit cursor-based GraphQL pagination
(same pattern as twitter/likes), which correctly fetches all pages.

Fixes #1230

* fix(twitter): harden following pagination

---------

Co-authored-by: jackwener <jakevingoo@gmail.com>
2026-05-01 20:13:54 +08:00

1.6 KiB

Twitter / X

Mode: 🔐 Browser · Domain: twitter.com

Commands

Command Description
opencli twitter trending
opencli twitter bookmarks
opencli twitter profile
opencli twitter search
opencli twitter timeline
opencli twitter thread
opencli twitter following
opencli twitter followers
opencli twitter notifications
opencli twitter post
opencli twitter reply
opencli twitter delete
opencli twitter like
opencli twitter likes
opencli twitter lists
opencli twitter list-tweets
opencli twitter list-add
opencli twitter list-remove
opencli twitter article
opencli twitter follow
opencli twitter unfollow
opencli twitter bookmark
opencli twitter unbookmark
opencli twitter block
opencli twitter unblock
opencli twitter hide-reply
opencli twitter download
opencli twitter accept
opencli twitter reply-dm

Usage Examples

# Quick start
opencli twitter trending --limit 5

# Search top tweets (default)
opencli twitter search "react 19"

# Search latest/live tweets
opencli twitter search "react 19" --filter live

# Get following/followers list (supports large limits)
opencli twitter following @elonmusk --limit 200
opencli twitter followers @elonmusk --limit 100

# JSON output
opencli twitter trending -f json

# Verbose mode
opencli twitter trending -v

Prerequisites