Drupal WhatsApp

Component ID

1909852

Component name

Drupal WhatsApp

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

4378

Component created

Component changed

Component body

NOTICE: This module uses an unofficial API library for sending WhatsApp, which may mean that may stop working without notice.
USE THIS MODULE RESPONSIBLY AND WITHOUT USING SPAM BECAUSE THEY COULD BAN OF ITS SERVERS THE USED PHONE NUMBER.

Allows sending WhatsApp messages to users of this popular messaging service.

What is WhatsApp?

According to the company:

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.

Late 2011 numbers: 1 billion messages per day, ~20 million users.

Modified XMPP

WhatsApp uses some sort of customized XMPP server, named internally as FunXMPP, which is basically some extended proprietary version.

Login procedure

Much like XMPP, WhatsApp uses JID (jabber id) and password to successfully login to the service. WhatsApp has recently deprecated using IMEI/MAC to generate the account's.

Message sending

Messages are basically sent as TCP packets, following WhatsApp’s own format (unlike what’s defined in XMPP RFCs).
Despite the usage of SSL-like communication, messages are being sent in plain-text format.

Multimedia Message sending

Photos, Videos and Audio files shared with WhatsApp contacts are HTTP-uploaded to a server before being sent to the recipient(s) along with Base64 thumbnail of media file (if applicable) along with the generated HTTP link as the message body.

Features

  • Registering phone numbers associated to a IMEI or WLAN MAC.
  • Sending WhatsApp messages from admin page.
  • Sending WhatsApp messages via rules.
  • drush support.

Coming soon

  • WhatsApp field.
  • Process incoming messages.

How to use

  1. Go to admin/config/services/whatsapp and enter our phone number, IMEI or WLAN MAC (MAC for iOS devices, the rest IMEI), user name and status message.
  2. If you have not registered our phone number registered with WhatsApp or not we want to use the same IMEI or MAC WLAN we must request a registration code and validate it from admin/config/services/whatsapp/account-registration.
  3. Once you have done this you can send messages from admin/config/services/whatsapp/test or any other way available.