WhatsApp C library
A fast and lightweight C library to connect to WhatsApp. Requires a phone with a
working version and connected to the internet, similarly as the web version.
The following libraries are required:
- libwebsockets
- libqrencode
- libcrypto
- libjson-c
- libprotobuf-c
- libcrypto (OpenSSL)
Still under HEAVY development. Pull requests are appreciated.
Based on the great reverse engineering work of sigalor:
whatsapp-web-reveng
Objective
The library will provide a simple way to build clients. For instance a bitlbee
plugin to add WhatsApp as an available protocol to IRC.
Current status
The library provides the ability to send and receive private text messages, no
photos or other media are supported yet, neither group messages.
The built-in client wac
reads from the standard input, and sends the lines as
messages to the specified recipient in the argument. The received messages are
shown in the standard output. The phone should be specified in the following
format:
34666666666@s.whatsapp.net
. Some examples using the standard input:
% PHONE=34666666666@s.whatsapp.net
% wac $PHONE
Hi, do you read me?
Yes!
It can also be piped, as any UNIX like program, for example:
% echo Hi from the command line | wac $PHONE
Or to get a remote shell:
I rarely read blog posts, but this one compelled me to. Your writing style is amazing. Thank you for a great article.
I had a great time with that, too. Despite the high quality of the visuals and the prose, you find yourself eagerly anticipating what happens next. If you decide to defend this walk, it will basically be the same every time.
I played on this casino platform and managed a significant cash, but later, my mother fell ill, and I needed to cash out some money from my casino account. Unfortunately, I faced issues and was unable to finalize the cashout. Tragically, my mother died due to such gambling platform. I request for your help in bringing attention to this website. Please support me in seeking justice, so that others won’t have to face the hardship I am going through today, and avert them from crying tears like mine. 😭😭😭�
I participated on this casino platform and succeeded a considerable sum of money, but later, my mom fell ill, and I required to take out some funds from my casino account. Unfortunately, I faced problems and couldn’t finalize the cashout. Tragically, my mother died due to such gambling platform. I request for your help in lodging a complaint against this site. Please help me in seeking justice, so that others do not experience the pain I am going through today, and prevent them from crying tears like mine. 😭😭😭�