Python Twilio - Python Send Whatsapp Message - Twilio Whatsapp API - Python Twilio for Beginners
🔖👇 Book a FREE 15-Min Doubt Clearance Session on Zoom with Me.
🔗🤷 calendly.com/codejana/doubt-c...
You can checkout the related blog post for this video: 🔗👉codejana.com/python-twilio-wh...
Do you want to create a Python Twilio App? This is video would be great for you then.
First, we'll create an account on Twilio Website.
Then we'll access Twilio rest module in Python.
Then we'll send a message to test whether our app works fine or not.
I've also shown near the end of this video, how you can scale an application like this. Make sure to watch it till the end.
If you have an questions then let me know in the comment section below.
Thanks.
Resources:
Twilio website: www.twilio.com
Join Code Jana - Discord Server - / discord
Subscribe to Code Jana: kzread.info?su...
🧑💻 Gadgets that a Programmer Absolutely Needs 👇:
💻 Laptops amzn.to/3HhmMy7
External monitor amzn.to/3HzHPNA
⌨️ Silent Mechanical keyboard amzn.to/3HCPYB6
🖱️ Mouse amzn.to/3JlZYQd
Raspberry pie 3 amzn.to/3Y5Vstd
💺 Superb Office Chair Ergonomic chair amzn.to/3XIsVKH
External hard drive amzn.to/3wCpIjM
Laptop Tabletop Stand amzn.to/40bqBgI
Tablet amzn.to/3kNdXV4
Mini PC amzn.to/3XY6Lne
❄️ A Cooling Pad amzn.to/406lQ8d
A VPN Router amzn.to/3wBjQaM
A Mini Keyboard amzn.to/3Jkno8C
A Bluetooth Headset amzn.to/3WNrUQ6
A USB-C Hub amzn.to/3HD4fxy
Related Tags:
Python Twilio, Python Send Whatsapp Message, Twilio Whatsapp API, Python Twilio for Beginners, Python twilio whatsapp, python twilio module, python twilio pip, twilio whatsapp api python, twilio whatsapp api pricing, twilio whatsapp api tutorial,
Пікірлер: 98
🔖👇 Book a FREE 15-Min Doubt Clearance Session on Zoom with Me. 🔗🤷 calendly.com/codejana/doubt-clearance-code-jana
hello, how to make that when I send a message from another number it returns an answer? It is more like an auto response that I want you to send, either identify it by pablar key and that, thanks
Hi,thanks beautifull idea you are a good python coder
This is Great, Can u also explain the two way whatsapp messaging please
Is it possible to get the same json response that we see at 5:02 in python?
So please if you really get what I'm saying I want to ask how do I pass the same value to my (url_for('addsignup..... That of my route') I have the html
Hi Coders...Code Jana recommends Hostinger. bit.ly/3XjAaJO - Click the Link to Get a Hostinger Account . If you want to host a Python App then Hostinger provides very cheap & affordable VPS Plans. Follow the link to get 50% OFF on VPS Plan 1.
Hi CodeJana can we sand WhatsApp messages to different numbers ??
Very nice tutorial sir, thank you so much
@CodeJana
2 жыл бұрын
Hi Mahadev, thanks so much and you are most welcome
Please help me building the flask application? Or just uploading it please
Thank you. your video is very helpful
@CodeJana
2 жыл бұрын
You are most welcome Schadrac. ☺
Sir please to remind you about the database I'm using built in database that's (sqlite3) the one that come with flask already(SQLALchemy)
Bro when i changed another mobile number this code is not executed any one tell me?
Thanks for the video..great one....it will be good if you can make video about how to create Flask web app for this in details.....
@CodeJana
3 жыл бұрын
Thanks Dwd.
Can we send a message to a different WhatsApp number?
Can I use another number in the 'to' variable, like it would be sent from the number provided by Twilio (not my own; as it costs an upgrade) but sent to another persons number?
@CodeJana
Жыл бұрын
You can do that with a paid subscription only.
How to do it with java?
Sir please and please help me make a video on how to create multiple databases in flask whereby admin database should be different from users own
Sir please I'm facing a problem and I want you to help me out
Hi, thanks for your video. I would like to know how can I do a Chat Bot with Twilio and Python. I mean, is it possible to use python with the twilio studio flow?
@CodeJana
2 жыл бұрын
Ibdeed it is possible.
Hi while running pip install virtualenv command I’m getting error that term pip is not recognised what to do……plz help
@naqihussain6990
2 жыл бұрын
update the pip version
Hi Code Jana how can I get the final project you used at the end of the video?
@CodeJana
2 жыл бұрын
I am going to create a video on it when I am through with some pending projects. I'll include a github link to complete project.
@schadracjeancharles2811
2 жыл бұрын
@@CodeJana Okay, I'm looking forward
Great video Code Jana, but im running into an issue if you have any insight. I have access to whatsapp already set up through twilio but my message is queued and isnt getting to the reciver. Do you know a solution to this
@CodeJana
Жыл бұрын
Hi...thanks. The queue is automated via Twilio. It process it acc to it's own pace. We can't force it to clear a queue. If all creds are correct, your msg will be delivered. What you can try is use Twilio sandbox to send a msg and see if it gets sent.
I want to protect my 'admin' sign up and login route so this is what I pass to the route ('/addsignup@0312/') then I now pass post_id to the function def addsignup(post_id) and also pass it to the render_template
@CodeJana
2 жыл бұрын
Hi there Kenneth. Can you contact me on Discord?
Would love to see the video of flask web app created in this video
@CodeJana
3 жыл бұрын
Thanks for your kind words. I'll certainly cover it now.
Hi, excelent video What snippets do you have installed in your vs code?
@CodeJana
2 жыл бұрын
Hi there...thanks. Snippets or extensions?
@jaimegutierrez2023
2 жыл бұрын
@@CodeJana Extensions!! My bad
@CodeJana
2 жыл бұрын
@@jaimegutierrez2023 ohh! Well, I've included that in my flask tutorial: best extension for vscode. I've updated my extensions stack now though. If you want I can share them with you.
Sir how to get Gmail alerts on WhatsApp using twillio sand box
@CodeJana
2 жыл бұрын
Hi there, You would need to fetch gmail mails using gmail python script & pass that mail via the twilio app to whatsapp. That's how this process will work seamlessly.
Hi, thanks for this great tutorial, I have a little question tho. How do I send messages by a custom phone number and not by the one provided by the Twilio sandbox ?
@CodeJana
2 жыл бұрын
Hi there. You need to purchase twilio upgrade.
@vaishalshrimali1773
10 ай бұрын
Here have to scan qr but i don't want to scan qr than what to do ? @@CodeJana
Thank you a ton. Wonderful video. I created a Whatsapp bot using this and was able to message successfully on my WhatsApp. One doubt, I tried messaging from another mobile to the Sandbox number but it says "This number is not connected to Sandbox". How to handle this? After I release this bot I want my customer to send messages and get responses directly, it is difficult to add each of my customers to this Sandbox. Is there any way?
@CodeJana
Жыл бұрын
Thank you so much for your kind words.
Error occured: No module named 'twilio.rest.api.v2010.account.sip.domain.auth_types.auth_type_registrations.auth_registrations_credential_list_mapping' i m getting this error i it was working fine but it is showing this error i have many times installed and uninstalled now i m tired please help please
Can we send messages to multiple numbers?
@CodeJana
2 жыл бұрын
Yes. That's precisely why I created MsgPing app based python+twilio.
Please and please I request you make video on how to use multiple databases in flask
@CodeJana
2 жыл бұрын
Thank you so much Kenneth. I'll get right on it.
I want the admin sqlite3 database (user_loader(UserMixin) should be different from the students own how do I go about it
@CodeJana
2 жыл бұрын
The best way would be to create your own wrapper/decorator
@CodeJana
2 жыл бұрын
Usermixin is a class defined in Flask Login and then a decorator is set for User loader function
@CodeJana
2 жыл бұрын
To keep things separate, you should create your class for verifying user credentials amd create respective wrappers/decorator for them.
@CodeJana
2 жыл бұрын
Also, make sure to use flask session to save the student/teacher session separately. So you can access them individual while using usermixin and your own userauth function.
@Kennethlumor
2 жыл бұрын
@@CodeJana ok sounds good but I think I'm stack so help with the video please
One question that, how to work with webhook ?
@CodeJana
10 ай бұрын
Can you elaborate?
Sir i have completed the whatsapp bot Project and deploy it to Render everything is working fine but my question is how i implement in real world what i mean if somebody save my number and send messages to me i like my BOT to act because right now i am messaging to twilio save number and BOT is responding but how twilio will respond in behalf of me when somebody save my number and send me a message Thank you Please reply
@CodeJana
Жыл бұрын
Hi..sorry for the late reply but you have register as a Sender on Twilio. They forward your profile to Meta(Facebook) and when you are approved. You can register any number with them or purchase a number from them, both will work. Application is free and they only need your business facebook account to be in good standing and your reason for messaging to be valid and spam-free.
@RD07gaming48
Жыл бұрын
@@CodeJana Thank you for responding Sir can you please send me a link becaused i am little bit confused because hard to find in twilio site Thank you again
@CodeJana
Жыл бұрын
@@RD07gaming48 This guide should help you do that: www.twilio.com/docs/whatsapp/tutorial/connect-number-business-profile#:~:text=Submit%20the%20WhatsApp%20Sender,say%20%22New%20WhatsApp%20Sender%22.
Hello Boss, I want the app full like whatsapp conversation and interaction between different source whatsapp numbers to customers.. How is that possible?
@CodeJana
11 ай бұрын
Hi... I can build it for you. Contact me on t.me/codejana_com/2
@maheshjainitexpert6399
11 ай бұрын
@@CodeJana I have sent you message in twitter
Sir please please and please help me do a video on how to add a search 🔎 systems to the flask app
@CodeJana
2 жыл бұрын
Hi there Kenneth... I've found this wonderful tutorial for you. kzread.info/dash/bejne/h6WGw9mhfLGrXZM.html
@Kennethlumor
2 жыл бұрын
@@CodeJana ok sir. But can I have a way to send you my project so that you look at it for me
@CodeJana
2 жыл бұрын
@@Kennethlumor I wish I could. But i am very engaged in a company project.
@Kennethlumor
2 жыл бұрын
@@CodeJana ok sir thank you for your help though after that I still get un error but look for different way
can i send thw messages to whatsapp group ? using twilio if any seee this measage today please give solution , today was submissiion of task .
Great SIR, YOU are awesome but just solve my one problem - I want to send a single message to bulk (millions) WhatsApp users without adding them to my contacts. I have stored users' phone numbers in bulk in excel and notepad. Please help me, brother.
@CodeJana
Жыл бұрын
Twilio is very strict about sending bulk messages. It has its own queue management. And it also has 5 lac message limit per account (in queue). Also, its policy needs user registration or at least acknowledgement of where you got the numbers. What you want to do is essentially a spam.
Hey brother how can i send pdf ?
@CodeJana
7 ай бұрын
Hi...it's the same concept as image: www.twilio.com/docs/whatsapp/tutorial/send-and-receive-media-messages-whatsapp-python
Please help me 😢
Hey, can you provide the source code of your final project
@CodeJana
2 жыл бұрын
Hi there...it's on paid basis only.
@lovestats2647
2 жыл бұрын
@@CodeJana ohh how much?
@CodeJana
2 жыл бұрын
INR 5000 or $62.5
@CodeJana
2 жыл бұрын
@@lovestats2647 You may checkout my msgping project that's the extension of this. It has some wonderful features. You can build a saas project off of that : kzread.info/dash/bejne/ZYOlw5Kfp8eqZbA.html
How to send WhatsApp message on group
@CodeJana
8 ай бұрын
Hi... Did you checkout twilio documentation?
@ashishrock9585
8 ай бұрын
@@CodeJana yes but not found any valid solution. Can you please help me.
@CodeJana
8 ай бұрын
@@ashishrock9585 hi... It looks like group messaging has been removed from twilio right now. I'll update you if i find any solution
Based on Twilio Whatsapp API - Buy MsgPing version 1.0 NOW for $29 & get benefits of Version 2.0 (cost: $199) Absolutely FREE 🔥🔥 🔗🔗 kksonakiya.gumroad.com/ 🛒🛒 - 🎥Watch Features Video: kzread.info/dash/bejne/kaGD0sNumpfQZdo.html 👀
I watch other tutorials on how to do it but anytime create (db.create_all) the two databases create but one will look like a text file
@CodeJana
2 жыл бұрын
Hi there, apologies for delayed reply. I'll create a video for it today.
@Kennethlumor
2 жыл бұрын
@@CodeJana thank you so much sir
@Kennethlumor
2 жыл бұрын
@@CodeJana but will be glad if you can see my project. By the way I'm from Ghana 🇬🇭 is my final year project work I will email it to you
@CodeJana
2 жыл бұрын
@@Kennethlumor sure. You can connect with me through Discord
@Kennethlumor
2 жыл бұрын
@@CodeJana thank you I'm connected to you now on the discord
how implemnt this, but a whatsapp number what not be twilio number
@CodeJana
9 ай бұрын
Please follow this link for a guided setup : www.twilio.com/docs/whatsapp/tutorial/connect-number-business-profile#:~:text=At%20a%20high%20level%2C%20to,Manager%20account%20for%20Business%20Verification