Python Twilio - Python Send Whatsapp Message - Twilio Whatsapp API - Python Twilio for Beginners
ฝัง
- เผยแพร่เมื่อ 21 ก.ค. 2024
- 🔖👇 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: th-cam.com/users/codejana?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,
🔖👇 Book a FREE 15-Min Doubt Clearance Session on Zoom with Me.
🔗🤷 calendly.com/codejana/doubt-clearance-code-jana
This is Great, Can u also explain the two way whatsapp messaging please
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
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 CodeJana
can we sand WhatsApp messages to different numbers ??
Please help me building the flask application? Or just uploading it please
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.
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)
Very nice tutorial sir, thank you so much
Hi Mahadev, thanks so much and you are most welcome
Bro when i changed another mobile number this code is not executed
any one tell me?
Thank you. your video is very helpful
You are most welcome Schadrac. ☺
Can we send a message to a different WhatsApp number?
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.....
Thanks Dwd.
How to do it with java?
Sir please I'm facing a problem and I want you to help me out
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
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?
You can do that with a paid subscription only.
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?
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
update the pip version
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
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
Hi there Kenneth. Can you contact me on Discord?
Hi, excelent video
What snippets do you have installed in your vs code?
Hi there...thanks. Snippets or extensions?
@@CodeJana Extensions!! My bad
@@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.
Would love to see the video of flask web app created in this video
Thanks for your kind words. I'll certainly cover it now.
Hi Code Jana how can I get the final project you used at the end of the video?
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.
@@CodeJana Okay, I'm looking forward
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
Sir how to get Gmail alerts on WhatsApp using twillio sand box
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.
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?
Thank you so much for your kind words.
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 ?
Hi there. You need to purchase twilio upgrade.
Here have to scan qr but i don't want to scan qr than what to do ?
@@CodeJana
Can we send messages to multiple numbers?
Yes. That's precisely why I created MsgPing app based python+twilio.
I want the admin sqlite3 database (user_loader(UserMixin) should be different from the students own how do I go about it
The best way would be to create your own wrapper/decorator
Usermixin is a class defined in Flask Login and then a decorator is set for User loader function
To keep things separate, you should create your class for verifying user credentials amd create respective wrappers/decorator for them.
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.
@@CodeJana ok sounds good but I think I'm stack so help with the video please
Please and please I request you make video on how to use multiple databases in flask
Thank you so much Kenneth. I'll get right on it.
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
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.
@@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
@@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?
Hi... I can build it for you. Contact me on t.me/codejana_com/2
@@CodeJana I have sent you message in twitter
One question that, how to work with webhook ?
Can you elaborate?
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.
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.
Sir please please and please help me do a video on how to add a search 🔎 systems to the flask app
Hi there Kenneth... I've found this wonderful tutorial for you.
th-cam.com/video/UqRawhLNE-0/w-d-xo.html
@@CodeJana ok sir. But can I have a way to send you my project so that you look at it for me
@@Kennethlumor I wish I could. But i am very engaged in a company project.
@@CodeJana ok sir thank you for your help though after that I still get un error but look for different way
Hey brother how can i send pdf ?
Hi...it's the same concept as image: www.twilio.com/docs/whatsapp/tutorial/send-and-receive-media-messages-whatsapp-python
can i send thw messages to whatsapp group ? using twilio
if any seee this measage today please give solution , today was submissiion of task .
Please help me 😢
Hey, can you provide the source code of your final project
Hi there...it's on paid basis only.
@@CodeJana ohh how much?
INR 5000 or $62.5
@@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 : th-cam.com/video/3Oqa0fwdD5M/w-d-xo.html
How to send WhatsApp message on group
Hi... Did you checkout twilio documentation?
@@CodeJana yes but not found any valid solution. Can you please help me.
@@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: th-cam.com/video/_mOpa5j4j5w/w-d-xo.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
Hi there, apologies for delayed reply. I'll create a video for it today.
@@CodeJana thank you so much sir
@@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
@@Kennethlumor sure. You can connect with me through Discord
@@CodeJana thank you I'm connected to you now on the discord
how implemnt this, but a whatsapp number what not be twilio number
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