Docs / Meta app setup (vendor console) · 12 min
Meta app setup (vendor console)
The platform-level Meta app: webhook, verify token, redirect URI.
One app serves every workspace
chatlasso uses a single platform Meta app. Each workspace connects its own Instagram account through it via OAuth. This guide is for the platform operator (vendor console → Settings), not for individual creators.
Create the app
- In the Meta developer dashboard, create an app with the Instagram product, and add the Instagram API with Instagram Login setup.
- Copy the Instagram app ID and app secret into vendor console → Settings → Meta app. Saving mints a webhook verify token for you.
- Add the redirect URI shown on the settings card (the API's /api/autodm/callback URL) to the app's OAuth settings.
Wire the webhook
- In the app's webhook configuration, set the callback URL to the webhook URL shown on the settings card (the API's /api/autodm/webhook URL).
- Paste the verify token from the settings card. Meta sends a challenge; the API echoes it automatically once the token matches.
- Subscribe to the messages and comments fields for Instagram.
Webhook posts are signature-checked (X-Hub-Signature-256 over the raw body) with the app secret. Requests that don't verify are rejected.