Developer docsSocial Gateway API reference Postman العربية

Meta app setup

For the platform operator, once per environment.

  1. Create a Business app on developers.facebook.com and add Facebook Login for Business, Webhooks and Instagram (API with Facebook Login).
  2. Under Valid OAuth Redirect URIs add: https://www.crmgateway.brainstorming-solutions.com//oauth/meta/callback
  3. Under Webhooks subscribe the Page object to feed and the Instagram object to comments at: https://api.crmgateway.brainstorming-solutions.com//webhooks/meta
  4. In the operator console → Configuration set meta.app_id, meta.app_secret and meta.webhook_verify_token (the same value typed at Meta). Secrets are stored encrypted.
  5. Request App Review for these permissions and complete Business Verification:
    instagram_basic instagram_content_publish instagram_manage_comments pages_manage_engagement pages_manage_metadata pages_manage_posts pages_read_engagement pages_read_user_content

Until review, permissions work only for the app's admins and testers. Check Meta's changelog before changing meta.graph_version.