Repository navigation
Conversation
|
Thanks for the detailed issue and for putting this together. Gating the new flow behind an optional 1. The legacy flow changes after all ( 2. Hardcoded UI label 3. Unrelated version changes
4. Token type assumption 5. Things only a live test can confirm
Please share the results of the end-to-end test (OAuth → account selection → webhook subscription → inbound message → reply → history sync) once you've run it. 6. Docs Happy to help test once these are in. Thanks again! |
…d-login # Conflicts: # apps/builder/src/features/contacts/lib/profile-fetcher-factories.ts
|
Implemented the requested follow-up in Changes addressing the review:
Validation after merging the current base branch:
Live self-hosted validation also passed end to end:
The PR description has been updated with these results and the branch is conflict-free with the current |
Resolve conflicts with ChatbotXIO#1769, ChatbotXIO#1776 and ChatbotXIO#1783: - keep grantedScopes from the direct code exchange next to loginType - route main's new post listing/management calls (me/media, me/stories, managed media) through the login-type-aware Graph client - keep the AhaChat import availability wrapper on the Instagram picker - merge the connectSessions.get description with main's selectable guidance Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ublishing Unified Login channels still reached graph.instagram.com, which rejects the system-user token, in several paths: - coexist history sync and contact scan: pass loginType to the sync APIs - multi-account picker: connect through the direct-login route; the instagram-facebook route rejects an `instagram` connect session - Reconnect button (ChatbotXIO#1783): open Unified Login when the credential has a configuration, exchange the code on graph.facebook.com, match the stored igId among the assigned accounts and keep loginType - live_comments subscription: pass loginType - post publishing: publish Unified inboxes with the graph.facebook.com publisher (isInstagramOnFacebookGraph) Also fix the select-page test that broke when the page started using getTranslations, and cover each path above with tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Thanks for the follow-up. We went through the branch again in detail and, to save a round trip, pushed the fixes directly (maintainer edits). Could you please pull and re-check, ideally with one more live run on your Unified Login app? What we pushed
Checks run: Please verify on a live Unified Login app
One open question from the first review: please confirm that Also noting for the record: after this PR, the auto-complete in If anything looks wrong, push a fix on top or tell us and we'll adjust. Thanks! |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Closes #1716.
Summary
Adds support for Meta's Instagram API with Unified Login to the existing
instagram-directintegration while preserving the current direct Instagram OAuth flow.The flow is selected per platform credential:
unifiedLoginConfigId: use Meta Unified Login;instagram.com/oauth/authorizebehavior.What changed
client_id,config_id,response_type=code, andoverride_default_response_type=true;client_business_id;assigned_instagram_accountsand expose all returned accounts in the existing account-selection flow;Compatibility
The existing direct Instagram login remains the default when no Unified Login Configuration ID is set. Existing credentials and connected channels keep their previous code path.
Validation
mainmergeLive end-to-end validation completed successfully on a self-hosted installation:
assigned_instagram_accountsdiscovery;subscribed_appswebhook registration;Meta references