loading...

Discussion on: How to send WhatsApp messages for free and reliably with only 3 lines of code? Python

Collapse
aahnik profile image
Aahnik Daw Author

Hi ! Thanks for asking. When you run the code shown, chrome will open whatsapp web. For the first time you need to scan QR code to login to whatsapp.

You can send only to saved contacts.

Otherwise whatsapp may block you for spamming.

For contacts saved only as phone number, it will work. Just put the phone number instead of name , in the to parameter of the send method

Collapse
daksh777 profile image
Daksh P. Jain

Amazing! Do we need to include the full number (with country code) like +1123456789 or only 123456789 will work?

Thread Thread
aahnik profile image
Aahnik Daw Author

exactly same as saved. Number must be saved

Some comments have been hidden by the post's author - find out more