Commit Graph

5 Commits

Author SHA1 Message Date
Claude
274edccf8a Add post_title to TikTok sync
- Request title field from TikTok API
- Truncate to 80 chars for clean display
- Send post_title in sync payload

Chronicler #76
2026-04-10 22:18:14 +00:00
Claude
21b6fa9788 Fix TikTok sync payload to match Arbiter API
- Use platform_post_id + metrics object for sync endpoint
- Use total_followers for snapshot endpoint

Chronicler #76
2026-04-10 22:15:24 +00:00
Claude
942335156f Fix TikTok max_count: API limit is 20, not 50
Chronicler #76
2026-04-10 22:12:08 +00:00
Claude
c0750ea2c1 Fix TikTok sync: use jq instead of Python heredoc
Python heredoc was breaking on emoji characters in video titles.
jq handles JSON parsing properly.

Chronicler #76
2026-04-10 22:08:58 +00:00
Claude
34464a91af Add TikTok sync script with auto token refresh
- sync-tiktok.sh: Syncs video stats and account metrics to Arbiter
- .tiktok-tokens: Initial OAuth tokens (sandbox credentials)
- Auto-refreshes access token on each run (refresh token lasts 1 year)
- Cron: 5 13 * * * for 8:05 AM CT daily

Chronicler #76
2026-04-10 22:05:00 +00:00