fix: warn when querying other users' likes (private since Jun 2024)

Twitter/X made all likes private since June 2024. The likes command now:
- Detects if the target user differs from the authenticated user
- Shows a clear warning that only your own likes are visible
- Updated SKILL.md and README.md with likes privacy limitation

Closes #8
This commit is contained in:
jackwener
2026-03-11 12:34:17 +08:00
parent f31830f058
commit e9efa11fa5
3 changed files with 29 additions and 4 deletions

View File

@@ -110,7 +110,7 @@ twitter list 1539453138322673664
twitter user elonmusk
twitter user-posts elonmusk --max 20
twitter user-posts elonmusk -o tweets.json
twitter likes elonmusk --max 30
twitter likes elonmusk --max 30 # ⚠️ own likes only (private since Jun 2024)
twitter likes elonmusk -o likes.json
twitter followers elonmusk --max 50
twitter following elonmusk --max 50
@@ -360,7 +360,7 @@ twitter list 1539453138322673664
twitter user elonmusk
twitter user-posts elonmusk --max 20
twitter user-posts elonmusk -o tweets.json
twitter likes elonmusk --max 30
twitter likes elonmusk --max 30 # ⚠️ 仅可查看自己的点赞2024年6月起平台已私密化
twitter likes elonmusk -o likes.json
twitter followers elonmusk
twitter following elonmusk