CRM de WhatsApp, Instagram, Messenger y TikTok de Wachato, basado en Vocero CRM (MIT), listo para desplegar un negocio por instancia: - Marca blanca: nombre, color, moneda y giro del negocio desde el .env (BRAND_NAME, BRAND_ACCENT, BRAND_CURRENCY, BUSINESS_DESCRIPTION); se aplican una vez y luego manda Ajustes → Marca. - Superadmin sembrado al arrancar (SUPERADMIN_*), idempotente. - Servicios y precios, campos personalizados, exportación a Excel/PDF, respaldos, agenda, atribución de anuncios y transcripción de notas de voz. - Diseño con contraste AAA, tema claro y oscuro. - Despliegue: docker compose (Caddy opcional), plantillas para paneles con reverse proxy (deploy/aapanel), imagen publicada en GHCR por la CI. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1.6 KiB
1.6 KiB
Meta configuration checklist
Use this reference when the user needs the configuration values and URLs that must exist in Meta Developers.
OAuth / Embedded Signup
The app should expose a public callback page such as:
https://your-domain.com/oauth/callback
This URL should be:
- listed in valid OAuth redirect URIs,
- reachable in production,
- consistent with the runtime environment.
WhatsApp webhook
Use a public route such as:
https://your-domain.com/api/whatsapp/webhook
Requirements:
- GET for verification
- POST for webhook events
- verify token stored as an environment variable
- subscribe to the
messagesfield
Data deletion instructions URL
Use a public page such as:
https://your-domain.com/data-deletion
This page should explain how users can request deletion and how your team processes it.
Deauthorize callback URL
Use a backend route such as:
https://your-domain.com/api/meta/deauthorize
This route should:
- receive Meta's deauthorize callback,
- validate
signed_request, - identify the local user,
- delete or unlink the user's WhatsApp data,
- return a confirmation response.
Critical environment variables
FACEBOOK_APP_IDFACEBOOK_APP_SECRETFACEBOOK_CONFIG_IDOAUTH_REDIRECT_URISUPABASE_URLSUPABASE_ANON_KEYSUPABASE_SERVICE_ROLE_KEYWHATSAPP_WEBHOOK_VERIFY_TOKEN
Common config failures
- redirect URI mismatch
- wrong app secret
- app ID, app secret, and config ID from different apps
- webhook URL not publicly reachable
- deauthorize callback exists in Meta but not in the product