feat: WhatsApp — parámetros nombrados en template, API v25.0 e imagenUrl con soporte de URL externas

- Actualiza graph.facebook.com de v19.0 a v25.0
- Cambia parámetros posicionales a nombrados (parameter_name) en enviarTemplate para compatibilidad con plantillas avanzadas
- enviarPromocion ahora pasa nombre fallback 'estudiante' y claves explícitas
- imagenUrl() soporta imágenes con URL absoluta (http/https) además de rutas relativas de storage
- Agrega Log::info del payload completo antes del envío para facilitar debugging

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-28 20:44:13 -06:00
parent f246a709c4
commit a0c3194e88
3 changed files with 53 additions and 19 deletions
+8 -1
View File
@@ -23,7 +23,14 @@
"Bash(Select-String -Pattern \"entrega|Entrega\" -Context 0,0)",
"Bash(php -l app/Services/WhatsAppService.php)",
"Bash(php -l app/Http/Controllers/WhatsAppWebhookController.php)",
"Bash(php -l app/Http/Controllers/WhatsAppAnalyticsController.php)"
"Bash(php -l app/Http/Controllers/WhatsAppAnalyticsController.php)",
"Bash(Test-Path *)",
"Bash(git -C \"C:/Proyectos/SistemaEducativoLaravel\" status)",
"Bash(git -C \"C:/Proyectos/SistemaEducativoLaravel\" diff)",
"Bash(git *)",
"Bash(dir C:\\\\Proyectos\\\\SistemaEducativoLaravel\\\\public *)",
"Bash(findstr \"APP_URL\" \"C:\\\\Proyectos\\\\SistemaEducativoLaravel\\\\.env.example\")",
"Bash(findstr \"APP_URL\" \"C:\\\\Proyectos\\\\SistemaEducativoLaravel\\\\.env\")"
]
}
}