mirror of
https://github.com/jackwener/OpenCLI.git
synced 2026-09-14 18:25:42 +08:00
554329fceb
* feat: add filter option for twitter search * test: add tests * docs: 📝 update * fix(twitter): default search filter safely --------- Co-authored-by: jackwener <jakevingoo@gmail.com>
57 lines
1.3 KiB
Markdown
57 lines
1.3 KiB
Markdown
# 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 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
|
|
|
|
```bash
|
|
# 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
|
|
|
|
# JSON output
|
|
opencli twitter trending -f json
|
|
|
|
# Verbose mode
|
|
opencli twitter trending -v
|
|
```
|
|
|
|
## Prerequisites
|
|
|
|
- Chrome running and **logged into** twitter.com
|
|
- [Browser Bridge extension](/guide/browser-bridge) installed
|