META_INSTAGRAM. Authorization goes through Instagram OAuth, not Facebook.
Requirements
- An Instagram professional account (Business or Creator) — a personal account will not work
- The account must be linked to a Meta Business Portfolio
- Professional account messaging enabled in the Instagram settings
- To connect from your website:
@omnizapi/connect1.1.1 or later, and the domain registered in the SDK authorized domains. With earlier versions, the window does not return the result to your website.
Connecting
The code is the same as for any channel:instagram.com/oauth/authorize with these scopes:
Once the user authorizes, the SDK returns
code and accessToken. Forward the whole object to finish the connection.
What is different on Instagram
Talking outside the window
Instagram does have a conversation window: 24 hours from the customer’s message, extended to 7 days if you tag the reply with the human agent tag. To talk after that there are two paths, both from Meta: What you do have for talking after the window:If your use case requires templates or recurring marketing messages on Instagram, the path would be connecting through Facebook Login with the account linked to a page — a different integration model, which Omni Z-API does not use today.