I\'m trying to use the WhatsApi Official library to send a message via WhatsApp from a php file. I\'ve moved in my Apache web server the library, in a folder call test, like thi
You can use below script to send message from whatsapp in PHP
.
https://github.com/venomous0x/WhatsAPI/tree/master/examples
Configure the source code in Apache
and run examples/whatsapp.php
file.
You have change below configurations.
//simple password to view this script
$config['webpassword'] = 'MakeUpPassword';
and
$config['YOURNAME'] = array(
'id' => 'e807f1fcf82d132f9bb018ca6738a19f',
'fromNumber' => '441234567890',
'nick' => "YOURNICKNAME",
'waPassword' => "EsdfsawS+/ffdskjsdhwebdgxbs=",
'email' => 'testemail@gmail.com',
'emailPassword' => 'gmailpassword'
);
It's working for me..