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"