Automatic message sender using WhatsApp Web at fixed interval.
MIT License
Computer will send messages to your friend on WhatsApp Web automatically at fixed interval (e.g. after every 5mins) while you sleep and have good dream(s).
cd /path/to/repository
vi WhatsappAutoMessenger.java
javac WhatsappAutoMessenger.java
java WhatsappAutoMessenger
Using Java (Working)-
Using Javascript (Not working)-
We can send whatsapp message from Android app or from whatsapp web. Making an automatic-message-sender Android app seemed a lot of work to me. So I chose second way 😌 . Initially I thought writing some javascript code in browser console will do the work but I got stuck in middle. Idea is to simulate 'message-typing' and 'sending' like real user on WhatsApp Web. To see this approach please see whatsapp.js file. If you get it working please do ping me 😁
Since all I had to do is simulation, I can also do it on OS Level. I chose Java for it. I used java.awt.Robot
class
for this purpose and this was my 2nd working approach. See Video to feel it.
You can make a chatbot which will be able to respond to incoming messages wisely.
Whatsapp (Facebook) has recently released (02 August 2018) official support for Chat Integration via Whatsapp Business API. Please visit-