Files
jackwener__opencli/docs/adapters/browser/tiktok.md
jakevin 4343ec07e0 fix(tests): use positional arg syntax in browser search tests (#302)
Replace redundant --keyword/--query named flags with positional
arg syntax for all search commands that declare positional: true.
Also fix --query usage in tiktok.md docs example.

Affected:
- bilibili, weibo, zhihu, reuters, youtube, smzdm, boss, coupang, xiaohongshu search (browser-public.test.ts)
- linux-do search (browser-auth.test.ts)
- tiktok search (docs/adapters/browser/tiktok.md)
2026-03-23 19:00:12 +08:00

1.9 KiB

TikTok

Mode: 🔐 Browser · Domain: tiktok.com

Commands

Command Description
opencli tiktok profile Get user profile info
opencli tiktok search Search videos
opencli tiktok explore Trending videos from explore page
opencli tiktok user Get recent videos from a user
opencli tiktok following List accounts you follow
opencli tiktok friends Friend suggestions
opencli tiktok live Browse live streams
opencli tiktok notifications Get notifications
opencli tiktok like Like a video
opencli tiktok unlike Unlike a video
opencli tiktok save Add to Favorites
opencli tiktok unsave Remove from Favorites
opencli tiktok follow Follow a user
opencli tiktok unfollow Unfollow a user
opencli tiktok comment Comment on a video

Usage Examples

# View a user's profile
opencli tiktok profile --username tiktok

# Search videos
opencli tiktok search "cooking" --limit 10

# Trending explore videos
opencli tiktok explore --limit 20

# Browse live streams
opencli tiktok live --limit 10

# List who you follow
opencli tiktok following

# Friend suggestions
opencli tiktok friends --limit 10

# Like/unlike a video
opencli tiktok like --url "https://www.tiktok.com/@user/video/123"
opencli tiktok unlike --url "https://www.tiktok.com/@user/video/123"

# Save/unsave (Favorites)
opencli tiktok save --url "https://www.tiktok.com/@user/video/123"
opencli tiktok unsave --url "https://www.tiktok.com/@user/video/123"

# Follow/unfollow
opencli tiktok follow --username nasa
opencli tiktok unfollow --username nasa

# Comment on a video
opencli tiktok comment --url "https://www.tiktok.com/@user/video/123" --text "Great!"

# JSON output
opencli tiktok profile --username tiktok -f json

Prerequisites