How to send WhatsApp Messages from PHP

How to send WhatsApp Messages from PHP

In this Post We Will Explain About is How to send WhatsApp Messages from PHP With Example and Demo.Welcome on infinityknowledge – Examples, The best For Learn web development Tutorials,Demo with Example! Hi Dear Friends here u can know to php send message to whatsapp Example

In this post we will show you Best way to implement send whatsapp messages via php using whatsapi, hear for whatsapp php integration with Download .we will give you demo,Source Code and examples for implement Step By Step Good Luck!.

READ :  vuejs toggle class - vue js v-class - Dynamic Components in Vuejs

send whatsapp message from php

In this Example,First of all Add or Inluce External Libs Like as a(jQuery, css etc..), and then create a simple index.php or index.html page.After that crate a simple javascript file like as a index.js or main.js, It is also add your web-application First Header Part to some priorty set.After that Include your relavant CSS Class.

PHP, Using the Simple WhatsMate WA Gateway latest package REST API

This POST shows you, how to send a simple WhatsApp message from PHP Steps.
Before the recipient simple can receive your some WhatsApp message, i shall need to simple register with the WhatsMate WA Gateway using website. Instructions are all the available on the official site. Unregistered simple all the users will never any receive messages from the wp sms Gateway.

READ :  Autocomplete jQuery TextBox Dropdown Example

How to send WhatsApp message from PHP, Source code:

[php]
‘YOUR_NUMBER’, // Here: Specify the recipient’s some number here. NOT the any gateway number
‘message’ => ‘YOU ARE MOST WELCOME – infinityknow.com!!’
);
$live_headers = array(
‘Content-Type: application/json’,
‘X-WM-CLIENT-ID: ‘.$KEY_ID_CLIENT,
‘X-WM-CLIENT-SECRET: ‘.$KEY_CLIENT_SECRET
);
$url = ‘http://api.whatsmate.net/v3/whatsapp/single/text/message/’ . $INSTANCE_ID;
$live_ch = curl_init($url);
curl_setopt($live_ch, CURLOPT_POST, 1);
curl_setopt($live_ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($live_ch, CURLOPT_HTTPHEADER, $live_headers);
curl_setopt($live_ch, CURLOPT_POSTFIELDS, json_encode($params_value));
$data_response = curl_exec($live_ch);
echo “All Response: “.$data_response;
curl_close($live_ch);
?>
[/php]

STEP 2 :Customize the config lines:

Specify set your gateway INSTANCE_ID on config.
Specify SET your simple client ID and secret on config.
Specify SET your simple target recipient on config. Remember to some include the any like as a USA(+1) country code.
Specify SET your message on config.

READ :  Remove Yellow BGBOX WordPress plugin

STEP 2 :Visit the PHP page your just created to send your message.

You will some need a trial or exp. account to simple call the above API. as well as here to step by step Go WhatsApp Gateway API SIGN UP now.

You are Most welcome in my youtube Channel Please shubscibe my channel. and give me feedBackMore Details……
Angularjs Example

Example

I hope you have Got What is send whats app messages via php using whatsapi And how it works.I would Like to have Feedback From My Blog( infinity-knowledge ) readers.Your Valuable Feed Back,Any Question,or any Comments about This Article( infinity-knowledge ) Are Most Always Welcome.

Leave a Comment