Skip to content

migrate Instagram integration to Graph API v26 with new test account - #165

Open
zlowen wants to merge 1 commit into
masterfrom
fix/142-new-instagram-account-setup
Open

migrate Instagram integration to Graph API v26 with new test account#165
zlowen wants to merge 1 commit into
masterfrom
fix/142-new-instagram-account-setup

Conversation

@zlowen

@zlowen zlowen commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator
  • switch host to graph.instagram.com (was graph.facebook.com) and bump v21.0 -> v26.0
  • use header-based auth for metrics collector, matching the poster
  • poll media container status instead of a blind sleep before publishing
  • derive post_url from the authenticated account instead of the old hardcoded handle
  • added INSTAGRAM_TEST_* secrets so dev CI posts to the test account, not prod
    • prod values will need rotating from the old lost ones
    • current token is live for 2 months. I'll need to follow up on how to auto-refresh that if possible or try a different method
  • correct .env.example/README var names; add instagram_manual_test.py

- switch host to graph.instagram.com (was graph.facebook.com) and bump v21.0 -> v26.0
- use header-based auth for metrics collector, matching the poster
- poll media container status instead of a blind sleep before publishing
- derive post_url from the authenticated account instead of the old hardcoded handle
- add INSTAGRAM_TEST_* secrets so dev CI posts to the test account, not prod
- correct .env.example/README var names; add instagram_manual_test.py

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant