Fix TikTok max_count: API limit is 20, not 50

Chronicler #76
This commit is contained in:
Claude
2026-04-10 22:12:08 +00:00
parent c0750ea2c1
commit 942335156f

View File

@@ -77,7 +77,7 @@ sync_videos() {
'https://open.tiktokapis.com/v2/video/list/?fields=id,view_count,like_count,comment_count,share_count' \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"max_count": 50}')
-d '{"max_count": 20}')
VIDEO_COUNT=$(echo "$RESPONSE" | jq -r '.data.videos | length')
echo " Found $VIDEO_COUNT videos"