This tutorial series is intended for people having a fair bit of knowledge in PHP programming & who wants to Operate or Perform various WhatsApp Functions like Sending and Receiving Message’s using CHAT-API ( WhatsAPI or WhatsApp PHP API ) . I will be illustrating the basics and key points followed by working demo which are utmost necessary in learning the subject.
What is WhatsApp?
“WhatsApp Messenger is a cross-platform mobile messenger that replaces SMS and works through the existing internet data plan of your device. WhatsApp is available for iPhone, BlackBerry, Android, Windows Phone, Nokia Symbian60 & S40 phones. Because WhatsApp Messenger uses the same internet data plan that you use for email and web browsing, there is no cost to message and stay in touch with your friends.”
Feb 2016: ~1 Billion users.
What is CHAT-API or WhatsAPI?
Chat-API is a PHP Library which provide Interface to WhatsApp Messenger.
With this Library, you can Do Nearly everything ( with PHP Programming ) that you can do from WhatsApp Mobile App.
You can Download Latest Version of Chat-API Library from Below :-
Download “WhatsAPI.zip” master.zip – Downloaded 18104 times –
Requires: PHP Protobuf and Curve25519 to enable end to end encryption
$username = ''; // Your number with country code, ie: 34123456789
$nickname = ''; // Your nickname, it will appear in push notifications
$debug = true; // Shows debug log, this is set to false if not specified
$log = true; // Enables log file, this is set to false if not specified
// Create a instance of WhatsProt class.
$w = new WhatsProt($username, $nickname, $debug, $log);
It’s just an Intro, I will Write a Detailed Article on Each & Every thing Related to WhatsAPI, like :-
- How to Obtain WhatsApp Password.
- How to Send a Message.
- How to Recieve a Message
& much more…
As of November 1, 2015 Chat API is licensed under the GPLv3+: http://www.gnu.org/licenses/gpl-3.0.html.
Terms and conditions
- You will NOT use this API for marketing purposes (spam, massive sending…).
- We do NOT give support to anyone that wants this API to send massive messages or similar.
- We reserve the right to block any user of this repository that does not meet these conditions.
This code is in no way affiliated with, authorized, maintained, sponsored or endorsed by WhatsApp or any of its affiliates or subsidiaries. This is an independent and unofficial API. Use at your own risk.
This distribution includes cryptographic software. The country in which you currently reside may have restrictions on the import, possession, use, and/or re-export to another country, of encryption software. BEFORE using any encryption software, please check your country’s laws, regulations and policies concerning the import, possession, or use, and re-export of encryption software, to see if this is permitted. See http://www.wassenaar.org/ for more information.
The U.S. Government Department of Commerce, Bureau of Industry and Security (BIS), has classified this software as Export Commodity Control Number (ECCN) 5D002.C.1, which includes information security software using or performing cryptographic functions with asymmetric algorithms. The form and manner of this distribution makes it eligible for export under the License Exception ENC Technology Software Unrestricted (TSU) exception (see the BIS Export Administration Regulations, Section 740.13) for both object code and source code.
Was this article/content helpful?
Thanks! Your feedback helps us to improve PHPHive.info