GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - amizz/Whatsapp-Direct-Messaging-API: An API that opens Whatsapp application directly start a conversation based on given mobile number

BranchesTags
Open more actions menu

Latest commit

 

History

34 Commits
34 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
Procfile
Procfile
 
 
README.md
README.md
 
 
app.js
app.js
 
 
app.json
app.json
 
 
package.json
package.json
 
 
yarn.lock
yarn.lock
 
 

Repository files navigation

Whatsapp Direct Messaging API

This API allows user to create a link to their whatsapp account without the needs to save the phone number. Using it on the desktop will start a conversation using Whatsapp Web while on mobile Whatsapp will automatically open and start a conversation.

It's more like 'Click to Whatsapp' thingy or maybe 'Surf to Whatsapp'. Have fun!

You can also use the official one below.

Features

  1. You can use your own domain.
  2. No more saving phone number just to start a conversation.
  3. Directly open whatsapp application using web for desktop and app for mobile (the official api doesn't do this, will ask the user to click send button).

Installation

Local

$ git clone https://github.com/amizz/Whatsapp-Direct-Messaging-API.git
$ yarn install
$ yarn start

Use NPM if Yarn is not available on your system. Replace yarn to npm when executing the command.

Heroku

Deploy

API

http://<domain>/<phonenum>

Directly open whatsapp to respective phone number as long as the phone number is registered on whatsapp. No message included.

http://<domain>/<phonenum>/<message>

Directly open whatsapp to respective phone number. Message is automatically included.

http://<domain>/whatsapp

Directly open whatsapp and start conversation using predefined phone number. Go to app.js line 72 to change the phone number.

Example

http://localhost:5000/60123456789
http://localhost:5000/60123456789/Hello!

Phone number must include the country code without '+' symbol.

Compatibility

OS Browser Status
Windows 10 Google Chrome Success
Android 4.4.4 Google Chrome Success

Specification

  • Node.js - v4.8.0+
  • Express - v4.15.2

This project was tested using Node.js v6.10.0

Official Whatsapp 'Click to Chat' API

api.whatsapp.com/send?phone=<phonenum>&text=<text>

License

Whatsapp Direct Messaging API is licensed under The MIT License. Please refer to the license file for more information.

About

An API that opens Whatsapp application directly start a conversation based on given mobile number

Topics

apiexpressjsherokunodejswhatsapp

Resources

Readme
MIT license
Activity

Stars

66 stars

Watchers

8 watching

Forks

28 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.