PC SOFT
DEPOT EN LIGNE
POUR WINDEVWEBDEV ET WINDEV MOBILE

Whatsapp Cloud API. Test to Send and Receive Messages.
Publié par josegarrido2
dans la catégorie Communication
Nouveautés



Description
Hello.
I have been testing the new Whatsapp Cloud API service, and it works perfectly from WINDEV.
For now I have only tried to send and receive simple messages.

Attached two projects:

The first project is a a windows application for sending messages, consisting of a button with 3 lines of code, and a short explanation.

The second one is a WebService consisting of two entry points, one GET and one POST, with three lines of code each.
Which serves as a webhook to receive whatsapp messages.

Note: For the correct functioning of the webhook it is necessary to install an ssl certificate, so that the website is secure (https).
Note: I could not deploy my WD24 WebService into my WAS27 to test it. So I upload the same project made with WD28, that is the version that I initally used and tested. (i tried to make it in version 24, for those people that didn't update to the last version)

Illustrations, copies d'écran
none
none
Avis des utilisateurs
(Pour noter la ressource, cliquez sur Ecrire un avis)
JESMAD
Registre un numero es decir no use el de pruebas y ya funciono, saludos!!
JESMAD
Buen aporte amigo, una pregunta para enviar a traves de windev es necesario cambiar a modo en produccionen? porque intente enviar uno y retorna respuesta correcta pero el mensaje no llega al numero que envio

{"messaging_product":"whatsapp","contacts":[{"input":"+52xxxxxxxxxx","wa_id":"521xxxxxxxxxx"}],"messages":[{"id":"wamid.HBgNNTIxNDM2MTE4NTAwORUCABEYEkM0NUFGMDhDNEU4RUZGNDkzRgA="}]}

Saludos!!
A PROPOS
EVALUATION :
00Aucune évaluation
TELECHARGEMENTS :
343
MISE À JOUR :
24 mars 2023
VERSION :
CONCERNE :
WINDEV
Version minimale : 24
TAILLE :
930 Ko