feat(instagram): complete Instagram posting functionality with existi… #6

Merged
zooper merged 1 commit from instagram into main 2025-08-09 22:50:15 +00:00
zooper commented 2025-08-09 22:50:00 +00:00 (Migrated from github.com)

…ng image support

  • Fix public image endpoint route to handle paths with slashes (instagram-posts/*)
  • Add imageId support for posting existing Lightroom images without base64 transfer
  • Implement proper Instagram Business Account ID resolution via Facebook Pages API
  • Add comprehensive error handling and image accessibility verification
  • Support both new image uploads and existing image references
  • Clean up debugging code while maintaining core functionality
  • Ensure proper R2 image storage and public serving for Instagram's external fetch requirements

Successfully resolves Instagram "Only photo or video can be accepted as media type" error by fixing the route pattern that was preventing proper image serving to Instagram's servers.

Tested and confirmed working with Instagram Graph API integration.

…ng image support - Fix public image endpoint route to handle paths with slashes (instagram-posts/*) - Add imageId support for posting existing Lightroom images without base64 transfer - Implement proper Instagram Business Account ID resolution via Facebook Pages API - Add comprehensive error handling and image accessibility verification - Support both new image uploads and existing image references - Clean up debugging code while maintaining core functionality - Ensure proper R2 image storage and public serving for Instagram's external fetch requirements Successfully resolves Instagram "Only photo or video can be accepted as media type" error by fixing the route pattern that was preventing proper image serving to Instagram's servers. Tested and confirmed working with Instagram Graph API integration.
cloudflare-workers-and-pages[bot] commented 2025-08-09 22:50:14 +00:00 (Migrated from github.com)

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
Deployment successful!
View logs
ai-caption-studio 943edc53 Commit Preview URL

Branch Preview URL
Aug 09 2025, 10:48 PM
## Deploying with &nbsp;<a href="https://workers.dev"><img alt="Cloudflare Workers" src="https://workers.cloudflare.com/logo.svg" width="16"></a> &nbsp;Cloudflare Workers The latest updates on your project. Learn more about [integrating Git with Workers](https://developers.cloudflare.com/workers/ci-cd/builds/git-integration/). | Status | Name | Latest Commit | Preview URL | Updated (UTC) | | -|-|-|-|-| | ✅ Deployment successful! <br>[View logs](https://dash.cloudflare.com/a3886cd60d9d98381472be25235a1347/workers/services/view/ai-caption-studio/production/builds/f6321a71-d961-4b9d-b30d-d7d05b1d1e8b) | ai-caption-studio | 943edc53 | <a href='https://7874663b-ai-caption-studio.jonsson.workers.dev'>Commit Preview URL</a><br><br><a href='https://instagram-ai-caption-studio.jonsson.workers.dev'>Branch Preview URL</a> | Aug 09 2025, 10:48 PM |
Sign in to join this conversation.
No description provided.