WhatsApp Bot (Send WhatsApp message automatically using python) [Just 2 lines of code]
In this video I will show you how to create your own WhatsApp bot to send WhatsApp message automatically using python in just 2 lines of code. I will be using a simple python library named pywhatkit.
Whatsapp bot python
Prerequisite:
WhatsApp web login steps:
Step 1. Open WhatsApp on your phone.
Android: Tap More options.
iPhone: Go to WhatsApp Settings.
Step 2. Tap Linked Devices.
Android: Tap LINK A DEVICE. Follow the on-screen instructions if your device has biometric authentication. If you don’t have biometric authentication enabled, you’ll be prompted to enter the pin you use to unlock your phone.
iPhone: Tap Link a Device - OK. On iOS 14 and above, use Touch ID or Face ID to unlock. If you don’t have biometric authentication enabled, you’ll be prompted to enter the pin you use to unlock your phone.
Step 3 Select the checkbox next to Keep me signed in on the QR screen on your computer or Portal to stay logged in on this device.
Step 4. Use your phone to scan the QR code on your computer or Portal.
Step 5. If prompted, tap or select Done.
Whatsapp bot code:
docs.google.com/document/d/1N...
Timestamps:
0:00 - Introduction
0:05 - What you'll learn?
0:27 - pywhatkit overview
1:07 - Install and import pywhatkit library
1:55 - Send whatsapp message automatically (whatsapp bot)
4:30 - Easy python project idea on whatsapp automation
Пікірлер: 21
For some reason, when the pywhatkit is typing the message, when it tries to type "/" it switches to the whatsapp web search bar instead and can't finish the job. Quite weird.
Hi Steve, many thanks for good presentation. if you can, please make a vidoe how to create whatsapp chat-bot.
Mine just writes the message but doesnt send it, why could it be?
I really love your content... Can't wait to try this out... 👍
@coding101withsteve8
2 жыл бұрын
Thank you so much Christian ☺️ Happy learning!
How can I send msg to all at once?
How do I send a video/file?
The time should be in 24 hour format i'm guessing?
@coding101withsteve8
Жыл бұрын
Yes that's right. But until they change anything in the library. 😇
We can update python libraries,python and pip by typing what command ?
@coding101withsteve8
2 жыл бұрын
For updating a library pip install package-name --upgrade For updating pip python -m pip install --upgrade pip
@cagataydemirbas7259
2 жыл бұрын
@@coding101withsteve8 thank you so much and for updating python ?
@coding101withsteve8
2 жыл бұрын
For python you'll have to download and install it again as you did for the first time.
@cagataydemirbas7259
2 жыл бұрын
@@coding101withsteve8 should i delete old version first ? or install over old version ?
@coding101withsteve8
2 жыл бұрын
@@cagataydemirbas7259 while installing the latest version it will overwrite the current automatically or you will get an option do so.
plz some tricks for facebook
Hello friend how are you
@coding101withsteve8
2 жыл бұрын
Hello, I'm fine. How are you? ☺
@VickyLifeVlogs
2 жыл бұрын
@@coding101withsteve8 i m good sir I need ur no please
@VickyLifeVlogs
2 жыл бұрын
Whatsapp no
@coding101withsteve8
2 жыл бұрын
@@VickyLifeVlogs You can check the about page on my channel. For my contact details.