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

  • @CodeJana
    @CodeJana5 ай бұрын

    🔖👇 Book a FREE 15-Min Doubt Clearance Session on Zoom with Me. 🔗🤷 calendly.com/codejana/doubt-clearance-code-jana

  • @Jelicxgm
    @Jelicxgm Жыл бұрын

    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

  • @awardnamir6794
    @awardnamir6794 Жыл бұрын

    Hi,￶thanks beautifull idea you are a good python coder

  • @srujangoud9940
    @srujangoud9940 Жыл бұрын

    This is Great, Can u also explain the two way whatsapp messaging please

  • @Navarrous
    @Navarrous2 жыл бұрын

    Is it possible to get the same json response that we see at 5:02 in python?

  • @Kennethlumor
    @Kennethlumor2 жыл бұрын

    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

  • @CodeJana
    @CodeJana Жыл бұрын

    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.

  • @omprakashpattnalu5475
    @omprakashpattnalu5475 Жыл бұрын

    Hi CodeJana can we sand WhatsApp messages to different numbers ??

  • @mahadevbag7788
    @mahadevbag77882 жыл бұрын

    Very nice tutorial sir, thank you so much

  • @CodeJana

    @CodeJana

    2 жыл бұрын

    Hi Mahadev, thanks so much and you are most welcome

  • @mbbsjourney8118
    @mbbsjourney81182 жыл бұрын

    Please help me building the flask application? Or just uploading it please

  • @schadracjeancharles2811
    @schadracjeancharles28112 жыл бұрын

    Thank you. your video is very helpful

  • @CodeJana

    @CodeJana

    2 жыл бұрын

    You are most welcome Schadrac. ☺

  • @Kennethlumor
    @Kennethlumor2 жыл бұрын

    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)

  • @chiranjeevikumarbattula8709
    @chiranjeevikumarbattula8709Ай бұрын

    Bro when i changed another mobile number this code is not executed any one tell me?

  • @David-rm1wn
    @David-rm1wn3 жыл бұрын

    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

    @CodeJana

    3 жыл бұрын

    Thanks Dwd.

  • @niktotube2477
    @niktotube2477 Жыл бұрын

    Can we send a message to a different WhatsApp number?

  • @superspecialtime7942
    @superspecialtime7942 Жыл бұрын

    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

    @CodeJana

    Жыл бұрын

    You can do that with a paid subscription only.

  • @AIOTECH
    @AIOTECH2 жыл бұрын

    How to do it with java?

  • @Kennethlumor
    @Kennethlumor2 жыл бұрын

    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

  • @Kennethlumor
    @Kennethlumor2 жыл бұрын

    Sir please I'm facing a problem and I want you to help me out

  • @bruhlickd
    @bruhlickd2 жыл бұрын

    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

    @CodeJana

    2 жыл бұрын

    Ibdeed it is possible.

  • @saiprasanna9524
    @saiprasanna95242 жыл бұрын

    Hi while running pip install virtualenv command I’m getting error that term pip is not recognised what to do……plz help

  • @naqihussain6990

    @naqihussain6990

    2 жыл бұрын

    update the pip version

  • @schadracjeancharles2811
    @schadracjeancharles28112 жыл бұрын

    Hi Code Jana how can I get the final project you used at the end of the video?

  • @CodeJana

    @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

    @schadracjeancharles2811

    2 жыл бұрын

    @@CodeJana Okay, I'm looking forward

  • @mupetman1214
    @mupetman1214 Жыл бұрын

    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

    @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.

  • @Kennethlumor
    @Kennethlumor2 жыл бұрын

    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

    @CodeJana

    2 жыл бұрын

    Hi there Kenneth. Can you contact me on Discord?

  • @mshajan
    @mshajan3 жыл бұрын

    Would love to see the video of flask web app created in this video

  • @CodeJana

    @CodeJana

    3 жыл бұрын

    Thanks for your kind words. I'll certainly cover it now.

  • @jaimegutierrez2023
    @jaimegutierrez20232 жыл бұрын

    Hi, excelent video What snippets do you have installed in your vs code?

  • @CodeJana

    @CodeJana

    2 жыл бұрын

    Hi there...thanks. Snippets or extensions?

  • @jaimegutierrez2023

    @jaimegutierrez2023

    2 жыл бұрын

    ​@@CodeJana Extensions!! My bad

  • @CodeJana

    @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.

  • @meghanabm1824
    @meghanabm18242 жыл бұрын

    Sir how to get Gmail alerts on WhatsApp using twillio sand box

  • @CodeJana

    @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.

  • @richdotcom8255
    @richdotcom82552 жыл бұрын

    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

    @CodeJana

    2 жыл бұрын

    Hi there. You need to purchase twilio upgrade.

  • @vaishalshrimali1773

    @vaishalshrimali1773

    10 ай бұрын

    Here have to scan qr but i don't want to scan qr than what to do ? @@CodeJana

  • @TheAstroengineer
    @TheAstroengineer Жыл бұрын

    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

    @CodeJana

    Жыл бұрын

    Thank you so much for your kind words.

  • @vedantnaikwadi5394
    @vedantnaikwadi53943 ай бұрын

    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

  • @mbbsjourney8118
    @mbbsjourney81182 жыл бұрын

    Can we send messages to multiple numbers?

  • @CodeJana

    @CodeJana

    2 жыл бұрын

    Yes. That's precisely why I created MsgPing app based python+twilio.

  • @Kennethlumor
    @Kennethlumor2 жыл бұрын

    Please and please I request you make video on how to use multiple databases in flask

  • @CodeJana

    @CodeJana

    2 жыл бұрын

    Thank you so much Kenneth. I'll get right on it.

  • @Kennethlumor
    @Kennethlumor2 жыл бұрын

    I want the admin sqlite3 database (user_loader(UserMixin) should be different from the students own how do I go about it

  • @CodeJana

    @CodeJana

    2 жыл бұрын

    The best way would be to create your own wrapper/decorator

  • @CodeJana

    @CodeJana

    2 жыл бұрын

    Usermixin is a class defined in Flask Login and then a decorator is set for User loader function

  • @CodeJana

    @CodeJana

    2 жыл бұрын

    To keep things separate, you should create your class for verifying user credentials amd create respective wrappers/decorator for them.

  • @CodeJana

    @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

    @Kennethlumor

    2 жыл бұрын

    @@CodeJana ok sounds good but I think I'm stack so help with the video please

  • @vaishalshrimali1773
    @vaishalshrimali177310 ай бұрын

    One question that, how to work with webhook ?

  • @CodeJana

    @CodeJana

    10 ай бұрын

    Can you elaborate?

  • @RD07gaming48
    @RD07gaming48 Жыл бұрын

    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

    @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

    @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

    @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.

  • @maheshjainitexpert6399
    @maheshjainitexpert639911 ай бұрын

    Hello Boss, I want the app full like whatsapp conversation and interaction between different source whatsapp numbers to customers.. How is that possible?

  • @CodeJana

    @CodeJana

    11 ай бұрын

    Hi... I can build it for you. Contact me on t.me/codejana_com/2

  • @maheshjainitexpert6399

    @maheshjainitexpert6399

    11 ай бұрын

    @@CodeJana I have sent you message in twitter

  • @Kennethlumor
    @Kennethlumor2 жыл бұрын

    Sir please please and please help me do a video on how to add a search 🔎 systems to the flask app

  • @CodeJana

    @CodeJana

    2 жыл бұрын

    Hi there Kenneth... I've found this wonderful tutorial for you. kzread.info/dash/bejne/h6WGw9mhfLGrXZM.html

  • @Kennethlumor

    @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

    @CodeJana

    2 жыл бұрын

    @@Kennethlumor I wish I could. But i am very engaged in a company project.

  • @Kennethlumor

    @Kennethlumor

    2 жыл бұрын

    @@CodeJana ok sir thank you for your help though after that I still get un error but look for different way

  • @nadeemshaik157
    @nadeemshaik157 Жыл бұрын

    can i send thw messages to whatsapp group ? using twilio if any seee this measage today please give solution , today was submissiion of task .

  • @OriginalPictures
    @OriginalPictures Жыл бұрын

    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

    @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.

  • @bhaveshmahavar1293
    @bhaveshmahavar12937 ай бұрын

    Hey brother how can i send pdf ?

  • @CodeJana

    @CodeJana

    7 ай бұрын

    Hi...it's the same concept as image: www.twilio.com/docs/whatsapp/tutorial/send-and-receive-media-messages-whatsapp-python

  • @Kennethlumor
    @Kennethlumor2 жыл бұрын

    Please help me 😢

  • @lovestats2647
    @lovestats26472 жыл бұрын

    Hey, can you provide the source code of your final project

  • @CodeJana

    @CodeJana

    2 жыл бұрын

    Hi there...it's on paid basis only.

  • @lovestats2647

    @lovestats2647

    2 жыл бұрын

    @@CodeJana ohh how much?

  • @CodeJana

    @CodeJana

    2 жыл бұрын

    INR 5000 or $62.5

  • @CodeJana

    @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

  • @ashishrock9585
    @ashishrock95858 ай бұрын

    How to send WhatsApp message on group

  • @CodeJana

    @CodeJana

    8 ай бұрын

    Hi... Did you checkout twilio documentation?

  • @ashishrock9585

    @ashishrock9585

    8 ай бұрын

    @@CodeJana yes but not found any valid solution. Can you please help me.

  • @CodeJana

    @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

  • @CodeJana
    @CodeJana Жыл бұрын

    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 👀

  • @Kennethlumor
    @Kennethlumor2 жыл бұрын

    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

    @CodeJana

    2 жыл бұрын

    Hi there, apologies for delayed reply. I'll create a video for it today.

  • @Kennethlumor

    @Kennethlumor

    2 жыл бұрын

    @@CodeJana thank you so much sir

  • @Kennethlumor

    @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

    @CodeJana

    2 жыл бұрын

    @@Kennethlumor sure. You can connect with me through Discord

  • @Kennethlumor

    @Kennethlumor

    2 жыл бұрын

    @@CodeJana thank you I'm connected to you now on the discord

  • @juandanielvelezmunoz2667
    @juandanielvelezmunoz26679 ай бұрын

    how implemnt this, but a whatsapp number what not be twilio number

  • @CodeJana

    @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