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>
78 lines
1.6 KiB
Markdown
78 lines
1.6 KiB
Markdown
# 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:
|
|
|
|
```text
|
|
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:
|
|
|
|
```text
|
|
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 `messages` field
|
|
|
|
## Data deletion instructions URL
|
|
|
|
Use a public page such as:
|
|
|
|
```text
|
|
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:
|
|
|
|
```text
|
|
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_ID`
|
|
- `FACEBOOK_APP_SECRET`
|
|
- `FACEBOOK_CONFIG_ID`
|
|
- `OAUTH_REDIRECT_URI`
|
|
- `SUPABASE_URL`
|
|
- `SUPABASE_ANON_KEY`
|
|
- `SUPABASE_SERVICE_ROLE_KEY`
|
|
- `WHATSAPP_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
|