Sending multiple whatsapp messages using python without reopening browser - python

I was looking for a way to send WhatsApp messages to more than one user (customer number) without reopening the browser, I came across Pywhatkit of whose internal implementation requires reopening the browser every time you want to send a message or media.
Any advice or recommendation of which python tool or library I can use to accomplish this, I will highly appreciate.
Thank you

Related

Send message WhatsApp with python and selenium

I sent a WhatsApp message from Python, selenium. It opens WhatsApp Web and sends a message to it, and it appears within a second, but I open the chat, and the message does not reach the number that I entered in the code, and this error appears
It looks like maybe the problem could be a permission with your device (maybe turning it into developer mode could help), but I think that an easier option would be to use the library pywhatkit. It is an easier way to send Whatsapp messages with python and there are many online resources to help you learn how to use it. https://pypi.org/project/pywhatkit/

WhatsApp Automation using Selenium

I'm automating WhatsApp messaging on WhatsApp Web using selenium in python.
The code is working all fine. It's sending out messages.
But is there any way, i can use it to send Bulk messages using WhatsApp.
I tried, but I ended up whatsapp blocking my number.
For sending the bulk message you can use a loop and can use a time delay for sending the messages in a specific time delay.
Or for getting help with code you have to share your code.
You can use any virtual number to use for your bot, So you not have to worried for getting blocked by whatsapp. There are some apps which are providing free virtual numbers.
By the way I have also created a whatsapp bot for automate whatsapp messaging and I have used that number for 1 year to test the working and progress of automation and have used much and still that number is not get blocked by whatsapp.

Suggestion: The best way to send messages on Facebook without getting banned using python

I'm using a python script that monitors a website and sends me messages on Facebook if there is any specific updates.
I have tried a module which called 'fbchat', so simple and so easy, but the problem is that I'm using real Facebook accounts and somehow Facebook detected that it's a bot and banned that profile, even if I have made random pauses in my code.
I know that I can do make those notifications through emails, but for me Facebook messages are better... Any ideas about how can I make it possible (maybe through bots!!)?
Thank you!
First take a look at which parameters(headers and payloads) the POST method takes(using network tools in google chrome for example), and try again with as many parameters as possible, while also using a session so cookies are enabled as well.
Different websites use different methods of detecting bots, and you'll just have to test and see what works.
P.S: take a look at this answer for more info.
Multiple Accounts are not allowed on Facebook, and there is no (allowed) way to send messages between users. You can only send messages from Pages to Users, and only if the User started the conversation. You can find more information about that in the docs: https://developers.facebook.com/docs/messenger-platform/

How do I make an alert system using python

Hi I want to make a simple alert system which will send an alert back to the server when a client is noticed by the software when accessing a specific website. For example if a user accesses eBay or yahoo then I should get an alert. is there anyway to do so ? I could really use help please.
thank you

How to send emails to a web application

I'm wondering how to achieve that nice feature I see on many websites today: when having conversations on social networks like Facebook or Linkedin, you can always answer an online message or status (which is not an email), by answering the email notification you receive. How do they achieve that?
As far as I can tell, I'd see two options:
Configure a mail server to fetch the emails and transmit the information to a Python (in my case) script to handle the data and save a database record that can be simply displayed afterwards on the website
Have a Python script running in the background, checking the mail server for incoming emails every few seconds (via pop3 or something)
Is there any other option? Has somebody already implemented this? What are the main pitfalls to look at? I'm asking this because I'd like to implement something similar on a web application I'm currently working on.
Thanks!
J
EDIT: I found this link which partially answers my question already: Django/Python: email reply is updated to site
I too am working on something similar and finding this https://github.com/pinax/django-notification useful. Check it out, you'll get an idea how to implement what you want.

Categories