Ratings | | Unique User Downloads | | Download Rankings |
Not enough user ratings | | Total: 594 | | All time: 5,235 This week: 40 |
|
Description | | Author |
This package can interact with WhatsApp using the Villaments API.
It can send several HTTP requests to the Villaments API to perform several actions with a given WhatsApp account. Currently it can:
- Create a new account using a given WhatsApp account number
- Set the URL for Web hook to be called when there are interaction updates
- Get the balance of a given account
- Send a message to a given WhatsApp account Innovation Award
October 2020
Number 8 |
WhatsApp is a popular chat application used by many millions of people around the world.
This package provides a solution for applications to send messages to other users and interact with them using the Villaments API.
Manuel Lemos |
| |
|
|
Innovation award
Nominee: 3x |
|
Example
<?php
require_once('../includes/curl.php');
require_once('../includes/whatsapp.php');
$wa=new Whatsapp();
$data['api_key']='XXXXXXXXXXXXX'; // Key received at the time of account creation
$data['phone']='Receiver Mobile Number with country code and without + symbol'; // Receiver Mobile Number
$data['message']='Your Message Here'; // Message to be send
$res=$wa->sendwhatsapp($data);
echo "<pre>";
print_r($data);
?>
|
Details
whatsapp
Welcome to best REST API for WhatsApp. This library provide you an complete solution for WhatsApp REST API without any necessities of code.
There are different function in this package:-
1. Register a new account on portal.
2. Scan QR code to generate session.
3. Get account balance.
4. set web hook to receive incoming message.
5. Send text message.
6. Send File.
Example files includes detailed implementation of these functions.
First of all you have to register your account to use this API.
After Registration you have to scan QR code from your whatsapp web.
After scanning QR code you can use all the functions of the package.
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.