Content Tracker

Instagram

Connect the Graph API to auto-pull reel stats at 24 / 48 / 72h.

Connection status

Access token

INSTAGRAM_ACCESS_TOKEN is set.

Auto-poll (cron)

INSTAGRAM_SYNC_ENABLED=true — the 6-hourly poller is active.

Reels linked to Instagram

129 of 129 reels have a media ID. 0 still need linking — use “Import all reels” below to pull your whole account.

Transcripts (Whisper)

OPENAI_API_KEY is set — “Transcribe reels” is enabled.

Auto-tagging (Haiku)

ANTHROPIC_API_KEY is set — “Auto-tag reels” is enabled.

Actions

Posted something new? Hit “Pull new reels.”It grabs only the reels you've posted since last time (and their stats) — fast, and safe to run as often as you like. New reels land under the Imported (untagged) body; transcribe + tag them when ready.

Import all (first time) pulls your entire back catalog at once — use it on setup. Sync stats now only refreshes numbers for reels already in the tracker (it does not add new posts). Link by permalink attaches hand-entered reels to Instagram without importing the whole account.

Transcribe reelspulls each reel's video and runs it through Whisper to get the spoken words with timestamps (pennies per reel). It only transcribes reels that don't have one yet — run it again after importing new reels. The transcript and the spoken hook show up on each reel's detail page.

Auto-tag reelsreads each transcript and fills in Body, Hook, and CTA so the Hook and CTA tests have real variants to compare. Run it after transcribing — it works through untagged reels in batches, so click again until none remain. Editing a reel's tags by hand locks it so a re-run won't overwrite your change.

Re-tag all re-classifies every reel from scratch (except hand-locked ones) — use it after the classifier is tuned. It clears old tags and runs the first batch; finish with Auto-tag reels.

How to get your token
  1. In your Meta app dashboard, open the Instagram product → API setup with Instagram login.
  2. Under Generate access tokens, add/connect @AIwithKahlil and click Generate token. Approve the prompts. Copy the long-lived token.
  3. In Vercel → Settings → Environment Variables, set:
    • INSTAGRAM_ACCESS_TOKEN = your token
    • INSTAGRAM_SYNC_ENABLED = true
    • CRON_SECRET = any long random string
  4. Redeploy, then come back and hit “Test connection”.

The token lasts ~60 days. Scopes needed: instagram_business_basic, instagram_business_manage_insights.