From 7b5f4b3f2d557c7435237c835ed157aabd2c07c6 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Mon, 12 Jan 2026 01:35:04 +0000 Subject: [PATCH] docs: document user-tweets --- CHANGELOG.md | 1 + README.md | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6526f44..665a9d8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ - `list-timeline` now supports pagination (`--all`, `--max-pages`, `--cursor`) (#30) — thanks @zheli. - `home` command for the "For You" and "Following" home timelines (#31) — thanks @odysseus0. - Rich text output now shows article previews, quoted tweets, and media links (#32) — thanks @odysseus0. +- `user-tweets` command to fetch a user's profile timeline (#34) — thanks @crcatala. ### Fixed - macOS cookie extraction now supports Brave keychain storage (#40) — thanks @gakonst. diff --git a/README.md b/README.md index 215cad5..e946953 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,10 @@ bird search "from:steipete" -n 5 bird mentions -n 5 bird mentions --user @steipete -n 5 +# User tweets (profile timeline) +bird user-tweets @steipete -n 20 +bird user-tweets @steipete -n 50 --json + # Bookmarks bird bookmarks -n 5 bird bookmarks --folder-id 123456789123456789 -n 5 # https://x.com/i/bookmarks/ @@ -100,6 +104,7 @@ const result = await client.search('from:steipete', 50); - `bird thread [--json]` — show the full conversation thread. - `bird search "" [-n count] [--json]` — search for tweets matching a query. - `bird mentions [-n count] [--user @handle] [--json]` — find tweets mentioning a user (defaults to the authenticated user). +- `bird user-tweets <@handle> [-n count] [--cursor string] [--max-pages n] [--delay ms] [--json]` — get tweets from a user's profile timeline. - `bird bookmarks [-n count] [--folder-id id] [--all] [--max-pages n] [--json]` — list your bookmarked tweets (or a specific bookmark folder); `--max-pages` requires `--all`. - `bird unbookmark ` — remove one or more bookmarks by tweet ID or URL. - `bird likes [-n count] [--json]` — list your liked tweets. @@ -171,7 +176,8 @@ Environment shortcuts: ## Output -- `--json` prints raw tweet objects for read/replies/thread/search/mentions/bookmarks/likes. +- `--json` prints raw tweet objects for read/replies/thread/search/mentions/user-tweets/bookmarks/likes. +- When using `--json` with pagination (`--cursor`, `--max-pages`, or `-n > 20`), `user-tweets` prints `{ tweets, nextCursor }`. - `read` returns full text for Notes and Articles when present. - Use `--plain` for stable, script-friendly output (no emoji, no color).