From 942335156f882d147b53866c8f81e0eef29f6e8d Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 10 Apr 2026 22:12:08 +0000 Subject: [PATCH] Fix TikTok max_count: API limit is 20, not 50 Chronicler #76 --- scripts/sync-tiktok.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/sync-tiktok.sh b/scripts/sync-tiktok.sh index 2996c4a..40aaf43 100644 --- a/scripts/sync-tiktok.sh +++ b/scripts/sync-tiktok.sh @@ -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"