I'm starting to trying the whatsapp API to integrate with my developments. I added a test number, I added a nummber to send the message I generrate de token.
I can send the test message from the setting page however when I'm trying to send the message using Python it does not work, no errors showed, but the message never enter to the whatsapp
Here are the Python code Im using to try:
token='MY TOKEN'
idNumeroTeléfono='431736870031509' idCuentaBusinessWA= '488364984349085'
telefonoEnvia='543513595891'
textoMensaje="Probando envio"
urlImagen='https://i.imgur.com/r5lhxgn.png'
mensajeWa=WhatsApp(token,idNumeroTeléfono)
mensajeWa.send_message(textoMensaje,telefonoEnvia)
mensajeWa.send_image(image=urlImagen,recipient_id=telefonoEnvia,)
print("Mensaje enviado")