Click to Chat : How to open WhatsApp chat from website button

If you want to have a “chat” button on your website which on Android mobile will directly start the Whatsapp application and send a predefined message to predefined contact number, just copy paste the below lines where ever you need.

<a href="https://api.whatsapp.com/send?phone=91xxxxxxxxxx&text=Hi%20we%20need%20help%20regarding%20something" class="applyinfo-btn">start chat </a>

For India, it will be 91 as country code in “phone=”, you can check your country code from https://faq.whatsapp.com/en/general/21016748

Refer page, If you want to add Android Share dialog to website using Web Share API

Refer more at https://faq.whatsapp.com/en/general/26000030

Android Android Commands Android Java Applications Application Libraries Application Stack / User Interface Bash / Shell Scripts Commands and Packages Compilation Content Management System - CMS Core Kernel C Programs Development & Build Development Environment Setup Errors & Failures Flutter git Go Language Programs Hardware Platforms HTML JAVA Programs Kernel & Device Drivers Linux, OS Concepts and Networking Linux Device Drivers Linux Host, Ubuntu, SysAdmin Linux Kernel Linux Networking Middleware Libraries, HAL Monetization / Google AdSense NDK / Middleware / HAL OS Concepts PHP Programming Languages RaspberryPi Scripting and Automation Search Engine Optimisation ( SEO ) Social Media Socurce Code Management ( SCM ) System Administration, Security Testing and Debugging Uncategorized User Interface Userspace Utilities Web design and development Wordpress Yocto / Bitbake / Openembedded
Tags: ,

3 Comments

  1. manish kumar December 19, 2018
  2. Rahulraj Nirala May 19, 2019
    • lynxbeedev May 19, 2019

Leave a Reply / Ask Question