feat(channels): add Instagram channel integration#1100
Open
dijnie wants to merge 1 commit intonextlevelbuilder:devfrom
Open
feat(channels): add Instagram channel integration#1100dijnie wants to merge 1 commit intonextlevelbuilder:devfrom
dijnie wants to merge 1 commit intonextlevelbuilder:devfrom
Conversation
Register Instagram channel type with Graph API client, webhook handler, message router, and formatter. Wire into gateway startup, RPC/HTTP validation, and web UI credential/config schemas. - cmd/gateway_errors: add TypeInstagram to isExternalChannel so pipeline errors are suppressed instead of leaked to DM users - router: per-entry dispatch by instagram_user_id (mirrors Facebook); multi-Meta-App secret support via extraSecrets - formatter: strip markdown/HTML before truncation — IG DM does not render markdown - graph_client: add subcode 2534014 to 24h-window classifier to stop unbounded retries on IG-specific 'human agent required' errors - types: fix features.typing JSON tag to match UI schema key - tests: router register/unregister, route-once, no-instances, per-entry dispatch regression guard, and external-channel error suppression
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
instagram_user_id(mirrors Facebook), supports multi-Meta-App secrets viaextraSecrets2534014to 24h-window classifier to stop unbounded retries on IG-specific 'human agent required' errorsTypeInstagramtoisExternalChannelso pipeline errors are suppressed instead of leaked to DM usersTest plan
go build ./...andgo build -tags sqliteonly ./...go vet ./...gateway_errors_test)