René's URL Explorer Experiment


Title: fix(instagram): integration helpers reorg by BillLeoutsakosvl346 · Pull Request #6143 · simstudioai/sim · GitHub

Open Graph Title: fix(instagram): integration helpers reorg by BillLeoutsakosvl346 · Pull Request #6143 · simstudioai/sim

X Title: fix(instagram): integration helpers reorg by BillLeoutsakosvl346 · Pull Request #6143 · simstudioai/sim

Description: Summary move Instagram Graph constants from lib/integrations into the provider tool domain move Instagram media resolution into the server routes that own publishing behavior remove the provider-specific runtime folder under lib/integrations add focused media-resolution coverage and complete the required integration templates Why Instagram was the only provider with runtime code under lib/integrations/. Mature integrations such as TikTok, Shopify, and Buffer organize the same responsibilities under tools, OAuth, and provider API routes. This keeps Instagram aligned with those existing ownership boundaries without introducing a new abstraction or changing runtime behavior. Compatibility Tool IDs, API routes, request/response shapes, OAuth scopes, Graph API version, media limits, legacy file inputs, polling, and generated integration metadata are unchanged. Instagram remains hidden from the toolbar. Validation 57 Instagram tests passed across 8 files block registry, canonical ID, and metadata checks passed scoped Biome and git diff --check passed docs generation succeeded and left integrations.json unchanged independent validate-integration and memory-safety audit found no critical issues Full TypeScript validation currently stops on the unrelated existing trigger.config.ts:51 mismatch where node-24 is not included in the installed Trigger.dev runtime type union; no Instagram errors were reported.

Open Graph Description: Summary move Instagram Graph constants from lib/integrations into the provider tool domain move Instagram media resolution into the server routes that own publishing behavior remove the provider-s...

X Description: Summary move Instagram Graph constants from lib/integrations into the provider tool domain move Instagram media resolution into the server routes that own publishing behavior remove the provider-s...

Opengraph URL: https://github.com/simstudioai/sim/pull/6143

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:990730f6-93b7-58d7-4b6f-36fefa9e19a1
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCD7E:14C9D4:281C70:3859AB:6AFB52F7
html-safe-nonceea7d713878f54f1937e02d18d11848c7ae0f977256784fab7c6c00054225b241
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRDdFOjE0QzlENDoyODFDNzA6Mzg1OUFCOjZBRkI1MkY3IiwidmlzaXRvcl9pZCI6IjcwNTgwNDkwMTEwMzEyOTMzNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac5e7e92cca72523799e36e6930a1efb047d4cf16ef8198e6502f52d037bc3bf87
hovercard-subject-tagpull_request:4181627150
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/6143/files
twitter:imagehttps://avatars.githubusercontent.com/u/157128530?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/157128530?s=400&v=4
og:image:altSummary move Instagram Graph constants from lib/integrations into the provider tool domain move Instagram media resolution into the server routes that own publishing behavior remove the provider-s...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None7122bb414b542dba14d71a3f0b9f6fd2abce715b9f5912d082800563e6c806d1
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasecbf66c024bb6d10e6955baa7413c54cf13a201bb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/6143/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F6143%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F6143%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/6143/files
Reloadhttps://github.com/simstudioai/sim/pull/6143/files
Reloadhttps://github.com/simstudioai/sim/pull/6143/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests197 (197)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
BillLeoutsakosvl346https://github.com/BillLeoutsakosvl346
staginghttps://github.com/simstudioai/sim/tree/staging
fix/instagram-architecturehttps://github.com/simstudioai/sim/tree/fix/instagram-architecture
Conversation 7 https://github.com/simstudioai/sim/pull/6143
Commits 1 https://github.com/simstudioai/sim/pull/6143/commits
Checks 28 https://github.com/simstudioai/sim/pull/6143/checks
Files changed https://github.com/simstudioai/sim/pull/6143/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6143/files
fix(instagram): integration helpers reorg https://github.com/simstudioai/sim/pull/6143/files#top
Show all changes 1 commit https://github.com/simstudioai/sim/pull/6143/files
a371386 refactor Instagram integration architecture Aug 1, 2026 https://github.com/simstudioai/sim/pull/6143/commits/a3713865807e48d3e07c056b9efda2560788b56b
Clear filters https://github.com/simstudioai/sim/pull/6143/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6143/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6143/files
route.ts https://github.com/simstudioai/sim/pull/6143/files#diff-252768c304e3bf85140c41512232c997cc646e5e20b4e617d955cf3c23fef93a
route.ts https://github.com/simstudioai/sim/pull/6143/files#diff-5b9371aa7ab067960bbc011b64cb97c1ffa0bbd70fb9dc5dfbbaacf015b2bd9a
route.ts https://github.com/simstudioai/sim/pull/6143/files#diff-2a4fa33f7b408fcf3e6c8d70c50b38dd4a6cde6910b3f7ca6336097b85f8301a
route.ts https://github.com/simstudioai/sim/pull/6143/files#diff-0d3fea116acba0cfbf964aa47c3fa76017fe033e9bdf201bbe299eda83ed2c2e
route.ts https://github.com/simstudioai/sim/pull/6143/files#diff-19035bbb98f3275f73545a35d4247e16d3f4b0758fb08d937c6e11a9081bdcae
route.ts https://github.com/simstudioai/sim/pull/6143/files#diff-da37f332481535215ad5bed6acdad014327745d0476bb28995295af76fe53fbf
resolve-media.test.ts https://github.com/simstudioai/sim/pull/6143/files#diff-fcf248621738d0b71d83c7bafa4ee12e780490e1d6c25f8191f20cc384f3606f
resolve-media.ts https://github.com/simstudioai/sim/pull/6143/files#diff-46479bb93af0f9aae4d4975b19dcbf8a9e49b1b1d9e850df18801dca94a048ff
instagram.test.ts https://github.com/simstudioai/sim/pull/6143/files#diff-c443131da7ae1c0647f22e5b5ec0b3307a66426ee1f4eba12feecec009e9337e
instagram.ts https://github.com/simstudioai/sim/pull/6143/files#diff-9084263f069180b2fed6cd4de4175296b71a0ef1ca3b22b065e69658d40acd87
constants.ts https://github.com/simstudioai/sim/pull/6143/files#diff-07b32ca4208d74cd70481c85dde1dcb1730711abecbf18013b2d464e0bd7e7da
utils.ts https://github.com/simstudioai/sim/pull/6143/files#diff-19eb329f94d7e9924037ceeeffd145f2e4b7a620466e05aa924754ae1e579f2f
apps/sim/app/api/auth/oauth2/callback/instagram/route.tshttps://github.com/simstudioai/sim/pull/6143/files#diff-252768c304e3bf85140c41512232c997cc646e5e20b4e617d955cf3c23fef93a
View file https://github.com/simstudioai/sim/blob/a3713865807e48d3e07c056b9efda2560788b56b/apps/sim/app/api/auth/oauth2/callback/instagram/route.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6143/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6143/files#diff-252768c304e3bf85140c41512232c997cc646e5e20b4e617d955cf3c23fef93a
https://github.com/simstudioai/sim/pull/6143/files#diff-252768c304e3bf85140c41512232c997cc646e5e20b4e617d955cf3c23fef93a
apps/sim/app/api/tools/instagram/publish-carousel/route.tshttps://github.com/simstudioai/sim/pull/6143/files#diff-5b9371aa7ab067960bbc011b64cb97c1ffa0bbd70fb9dc5dfbbaacf015b2bd9a
View file https://github.com/simstudioai/sim/blob/a3713865807e48d3e07c056b9efda2560788b56b/apps/sim/app/api/tools/instagram/publish-carousel/route.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6143/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6143/files#diff-5b9371aa7ab067960bbc011b64cb97c1ffa0bbd70fb9dc5dfbbaacf015b2bd9a
https://github.com/simstudioai/sim/pull/6143/files#diff-5b9371aa7ab067960bbc011b64cb97c1ffa0bbd70fb9dc5dfbbaacf015b2bd9a
apps/sim/app/api/tools/instagram/publish-image/route.tshttps://github.com/simstudioai/sim/pull/6143/files#diff-2a4fa33f7b408fcf3e6c8d70c50b38dd4a6cde6910b3f7ca6336097b85f8301a
View file https://github.com/simstudioai/sim/blob/a3713865807e48d3e07c056b9efda2560788b56b/apps/sim/app/api/tools/instagram/publish-image/route.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6143/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6143/files#diff-2a4fa33f7b408fcf3e6c8d70c50b38dd4a6cde6910b3f7ca6336097b85f8301a
https://github.com/simstudioai/sim/pull/6143/files#diff-2a4fa33f7b408fcf3e6c8d70c50b38dd4a6cde6910b3f7ca6336097b85f8301a
apps/sim/app/api/tools/instagram/publish-reel/route.tshttps://github.com/simstudioai/sim/pull/6143/files#diff-0d3fea116acba0cfbf964aa47c3fa76017fe033e9bdf201bbe299eda83ed2c2e
View file https://github.com/simstudioai/sim/blob/a3713865807e48d3e07c056b9efda2560788b56b/apps/sim/app/api/tools/instagram/publish-reel/route.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6143/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6143/files#diff-0d3fea116acba0cfbf964aa47c3fa76017fe033e9bdf201bbe299eda83ed2c2e
https://github.com/simstudioai/sim/pull/6143/files#diff-0d3fea116acba0cfbf964aa47c3fa76017fe033e9bdf201bbe299eda83ed2c2e
apps/sim/app/api/tools/instagram/publish-story/route.tshttps://github.com/simstudioai/sim/pull/6143/files#diff-19035bbb98f3275f73545a35d4247e16d3f4b0758fb08d937c6e11a9081bdcae
View file https://github.com/simstudioai/sim/blob/a3713865807e48d3e07c056b9efda2560788b56b/apps/sim/app/api/tools/instagram/publish-story/route.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6143/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6143/files#diff-19035bbb98f3275f73545a35d4247e16d3f4b0758fb08d937c6e11a9081bdcae
https://github.com/simstudioai/sim/pull/6143/files#diff-19035bbb98f3275f73545a35d4247e16d3f4b0758fb08d937c6e11a9081bdcae
apps/sim/app/api/tools/instagram/publish-video/route.tshttps://github.com/simstudioai/sim/pull/6143/files#diff-da37f332481535215ad5bed6acdad014327745d0476bb28995295af76fe53fbf
View file https://github.com/simstudioai/sim/blob/a3713865807e48d3e07c056b9efda2560788b56b/apps/sim/app/api/tools/instagram/publish-video/route.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6143/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6143/files#diff-da37f332481535215ad5bed6acdad014327745d0476bb28995295af76fe53fbf
https://github.com/simstudioai/sim/pull/6143/files#diff-da37f332481535215ad5bed6acdad014327745d0476bb28995295af76fe53fbf
apps/sim/app/api/tools/instagram/resolve-media.test.tshttps://github.com/simstudioai/sim/pull/6143/files#diff-fcf248621738d0b71d83c7bafa4ee12e780490e1d6c25f8191f20cc384f3606f
View file https://github.com/simstudioai/sim/blob/a3713865807e48d3e07c056b9efda2560788b56b/apps/sim/app/api/tools/instagram/resolve-media.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6143/{{ revealButtonHref }}
...b/integrations/instagram/resolve-media.ts → .../app/api/tools/instagram/resolve-media.tshttps://github.com/simstudioai/sim/pull/6143/files#diff-46479bb93af0f9aae4d4975b19dcbf8a9e49b1b1d9e850df18801dca94a048ff
View file https://github.com/simstudioai/sim/blob/a3713865807e48d3e07c056b9efda2560788b56b/apps/sim/app/api/tools/instagram/resolve-media.ts
Open in desktop https://desktop.github.com
apps/sim/blocks/blocks/instagram.test.tshttps://github.com/simstudioai/sim/pull/6143/files#diff-c443131da7ae1c0647f22e5b5ec0b3307a66426ee1f4eba12feecec009e9337e
View file https://github.com/simstudioai/sim/blob/a3713865807e48d3e07c056b9efda2560788b56b/apps/sim/blocks/blocks/instagram.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6143/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6143/files#diff-c443131da7ae1c0647f22e5b5ec0b3307a66426ee1f4eba12feecec009e9337e
https://github.com/simstudioai/sim/pull/6143/files#diff-c443131da7ae1c0647f22e5b5ec0b3307a66426ee1f4eba12feecec009e9337e
https://github.com/simstudioai/sim/pull/6143/files#diff-c443131da7ae1c0647f22e5b5ec0b3307a66426ee1f4eba12feecec009e9337e
apps/sim/blocks/blocks/instagram.tshttps://github.com/simstudioai/sim/pull/6143/files#diff-9084263f069180b2fed6cd4de4175296b71a0ef1ca3b22b065e69658d40acd87
View file https://github.com/simstudioai/sim/blob/a3713865807e48d3e07c056b9efda2560788b56b/apps/sim/blocks/blocks/instagram.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6143/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6143/files#diff-9084263f069180b2fed6cd4de4175296b71a0ef1ca3b22b065e69658d40acd87
https://github.com/simstudioai/sim/pull/6143/files#diff-9084263f069180b2fed6cd4de4175296b71a0ef1ca3b22b065e69658d40acd87
https://github.com/simstudioai/sim/pull/6143/files#diff-9084263f069180b2fed6cd4de4175296b71a0ef1ca3b22b065e69658d40acd87
https://github.com/simstudioai/sim/pull/6143/files#diff-9084263f069180b2fed6cd4de4175296b71a0ef1ca3b22b065e69658d40acd87
...m/lib/integrations/instagram/constants.ts → apps/sim/tools/instagram/constants.tshttps://github.com/simstudioai/sim/pull/6143/files#diff-07b32ca4208d74cd70481c85dde1dcb1730711abecbf18013b2d464e0bd7e7da
View file https://github.com/simstudioai/sim/blob/a3713865807e48d3e07c056b9efda2560788b56b/apps/sim/tools/instagram/constants.ts
Open in desktop https://desktop.github.com
apps/sim/tools/instagram/utils.tshttps://github.com/simstudioai/sim/pull/6143/files#diff-19eb329f94d7e9924037ceeeffd145f2e4b7a620466e05aa924754ae1e579f2f
View file https://github.com/simstudioai/sim/blob/a3713865807e48d3e07c056b9efda2560788b56b/apps/sim/tools/instagram/utils.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6143/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6143/files#diff-19eb329f94d7e9924037ceeeffd145f2e4b7a620466e05aa924754ae1e579f2f
https://github.com/simstudioai/sim/pull/6143/files#diff-19eb329f94d7e9924037ceeeffd145f2e4b7a620466e05aa924754ae1e579f2f
Please reload this pagehttps://github.com/simstudioai/sim/pull/6143/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.