tgalal / yowsup

The WhatsApp lib
GNU General Public License v3.0
7.05k stars 2.23k forks source link

Is it possible to create an auto responder for whatsapp? #668

Closed Snowlav closed 9 years ago

Snowlav commented 9 years ago

I use whatsapp A LOT for my business, and it would make a very very large impact on my communication if I could have a desktop application for it.

While that is possible, and they released a web app as well (yay!) I still have a lot of time where I am not at my desk, or have my phone with me. Usually this means I come back and am bombarded with urgent messages and alike.

It'd be great if there was a way to respond to all the messages when I am not around, just a simple message with: "Hey! Thanks for reaching me but unfortunately I am currently not available" "For urgent matters that can not wait X minutes/hours please contact me at this number: "

That way I can give people an estimate on when I will be back, and give them a back up option to either call my private line, or my home where my wife usually will pick up the phone if it's really urgent.

I looked into some different options like patched apk's etc but nothing beats a desktop application.

Thank you for taking your time to read this, I hope someone can answer soon :)

EDIT: the title, have been reading up on Evan Spiegel and his baby snapchat, so I mixed the two up. My bad.

dedmen commented 9 years ago

Is it possible? Sure! You could just edit the echo demo to respond with a specific message instead of the message it became. I wrote an C++ Qt based Handler on top of Yowsup. Something like that can easily be build and extended with a nice UI.

Snowlav commented 9 years ago

@dedmen My coding experience is limited, so I'd like to do it python as I have some experience with that. It's nice to know it's possible though, thanks!

Are there any problems I might run into? Like limits in replying or anything else, I never experience those just typing / manually but I don't know if things are different when doing it automated?

dedmen commented 9 years ago

Youll get problems if you message people that dont know you.. And as Whatsapp is against automated systems they might sometime detect if youre answering unhuman fast so you may need to add a little delay.. But just Answering to people that message you shouldnt yield any problems.

Snowlav commented 9 years ago

Ah yes, I see. Does this rule apply when the people that message me know me, but I don't know them? I am thinking about using this idea for my first line of contact, meaning all inquiries etc from people will be send to me through whatsapp,

This means I could (potentially / worst case scenario) have a 100 people or so messaging me in 1-1.5 hours.

Any problems with those numbers? Are there any "written" limits (like X replies / hour / day or whatever)

Thanks for the help so far :) !

2015-03-03 13:17 GMT+01:00 dedmen notifications@github.com:

Youll get problems if you message people that dont know you.. And as Whatsapp is against automated systems they might sometime detect if youre answering unhuman fast so you may need to add a little delay.. But just Answering to people that message you shouldnt yield any problems.

— Reply to this email directly or view it on GitHub https://github.com/tgalal/yowsup/issues/668#issuecomment-76935056.

rodrigofaillace commented 9 years ago

@Snowlav , will you abort using Whatsapp Official Mobile App?

It won´t be possible using Yowsup and the official app together, ok?

regards.

Snowlav commented 9 years ago

@rodrigofaillace that's fine :) I am okay with going desktop app only for a first line of communication.

dedmen commented 9 years ago

They cant enforce other Limits than in real Whatsapp... And you can write 100 Messages in an Hour that should really be no problem.

PierfrancescoElia commented 9 years ago

Check the #647? :) I use Yowsup for home Automation but your project is the same :)

kuldippatel commented 9 years ago

I am running an encyclopedia on +919963064258, Give it a try. There will be more features soon.

dedmen commented 9 years ago

Answer to a commment i got notified by email... Although i dont see the comment here... Its really nothing professional. I used QProcess to start python with yowsup. Im running yowsup-cli demos -y -d so i get all debug messages. My Program just executes the yowsup-cli commands and then reads the debug messages and analyzes them.

TKStudio commented 8 years ago

You can use my app for that (Root needed): https://play.google.com/store/apps/details?id=tkstudio.wachatbot

mgp25 commented 8 years ago

4,84€? sick, i have the same script for free.

muglikar commented 8 years ago

Hi @dedmen how did you build the C++ Qt based Handler on top of Yowsup?

dedmen commented 8 years ago

@muglikar Qt Launches the python process and then takes the Process output and parses it using RegularExpressions

globalsend commented 8 years ago

Hi, we have a cloud system that can reply automatically. You can reply text, image (including subtitle), video (including subtitle) and audio. System has 3 types of campaigns:

I have a demo number, and backend. Write me if you are interested. hello (at) globalsend.com.ar

Thanks

thez3r0 commented 7 years ago

@globalsend Can you share the Codes.?

godlikecs12 commented 7 years ago

@dedmen I'm new to programming, could you explain more or share some pieces of the code? It would be a great help for me.

dedmen commented 7 years ago

@godlikecs12 no i can't share my code. But basically its just running python and parsing its output using Regular expressions. Thats all there is to it. And every part of that is programming language specific

r10crescamos commented 6 years ago

@globalsend Hi, we have a cloud system that can reply automatically. You can reply text, image (including subtitle), video (including subtitle) and audio. System has 3 types of campaigns:

Single keyword: where user send a keyword and the system finds a match and replies with text, audio, video or image. Public campaign: you define a general keyword and you upload a CSV with a second keyword, and more information on the next columns. So for example people send ZIP 2234 and system can reply: Hello [name], the zipcode $[zip] is from state $[state], etc. Private campaign: it will match user number with number in csv and send personal information. I have a demo number, and backend. Write me if you are interested. hello (at) globalsend.com.ar

Thanks

demo plis

davidneujahr commented 6 years ago

hey testing