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,

ความคิดเห็น • 98

  • @CodeJana
    @CodeJana  4 หลายเดือนก่อน +1

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

  • @srujangoud9940
    @srujangoud9940 ปีที่แล้ว +2

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

  • @Jelicxgm
    @Jelicxgm ปีที่แล้ว +1

    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 ปีที่แล้ว +2

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

  • @Navarrous
    @Navarrous 2 ปีที่แล้ว

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

  • @Kennethlumor
    @Kennethlumor 2 ปีที่แล้ว

    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

  • @omprakashpattnalu5475
    @omprakashpattnalu5475 ปีที่แล้ว

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

  • @mbbsjourney8118
    @mbbsjourney8118 2 ปีที่แล้ว

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

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

  • @Kennethlumor
    @Kennethlumor 2 ปีที่แล้ว

    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)

  • @mahadevbag7788
    @mahadevbag7788 2 ปีที่แล้ว +1

    Very nice tutorial sir, thank you so much

    • @CodeJana
      @CodeJana  2 ปีที่แล้ว

      Hi Mahadev, thanks so much and you are most welcome

  • @chiranjeevikumarbattula8709
    @chiranjeevikumarbattula8709 หลายเดือนก่อน

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

  • @schadracjeancharles2811
    @schadracjeancharles2811 2 ปีที่แล้ว +1

    Thank you. your video is very helpful

    • @CodeJana
      @CodeJana  2 ปีที่แล้ว +1

      You are most welcome Schadrac. ☺

  • @niktotube2477
    @niktotube2477 ปีที่แล้ว +1

    Can we send a message to a different WhatsApp number?

  • @David-rm1wn
    @David-rm1wn 3 ปีที่แล้ว +1

    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.

  • @AIOTECH
    @AIOTECH 2 ปีที่แล้ว +1

    How to do it with java?

  • @Kennethlumor
    @Kennethlumor 2 ปีที่แล้ว

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

  • @Kennethlumor
    @Kennethlumor 2 ปีที่แล้ว

    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

  • @superspecialtime7942
    @superspecialtime7942 ปีที่แล้ว +2

    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.

  • @bruhlickd
    @bruhlickd ปีที่แล้ว +2

    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  ปีที่แล้ว +1

      Ibdeed it is possible.

  • @saiprasanna9524
    @saiprasanna9524 2 ปีที่แล้ว +1

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

  • @mupetman1214
    @mupetman1214 ปีที่แล้ว +1

    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
    @Kennethlumor 2 ปีที่แล้ว +1

    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?

  • @jaimegutierrez2023
    @jaimegutierrez2023 2 ปีที่แล้ว +2

    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 ปีที่แล้ว +1

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

  • @mshajan
    @mshajan 3 ปีที่แล้ว +1

    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.

  • @schadracjeancharles2811
    @schadracjeancharles2811 2 ปีที่แล้ว +1

    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

  • @vedantnaikwadi5394
    @vedantnaikwadi5394 2 หลายเดือนก่อน

    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

  • @meghanabm1824
    @meghanabm1824 2 ปีที่แล้ว +1

    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.

  • @TheAstroengineer
    @TheAstroengineer ปีที่แล้ว +1

    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.

  • @richdotcom8255
    @richdotcom8255 2 ปีที่แล้ว +1

    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

  • @mbbsjourney8118
    @mbbsjourney8118 2 ปีที่แล้ว +1

    Can we send messages to multiple numbers?

    • @CodeJana
      @CodeJana  2 ปีที่แล้ว

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

  • @Kennethlumor
    @Kennethlumor 2 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

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

    • @CodeJana
      @CodeJana  2 ปีที่แล้ว +1

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

    • @CodeJana
      @CodeJana  2 ปีที่แล้ว +1

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

    • @CodeJana
      @CodeJana  2 ปีที่แล้ว +1

      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

  • @Kennethlumor
    @Kennethlumor 2 ปีที่แล้ว +1

    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.

  • @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  ปีที่แล้ว +1

      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 ปีที่แล้ว +1

      @@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  ปีที่แล้ว +1

      @@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
    @maheshjainitexpert6399 11 หลายเดือนก่อน

    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 หลายเดือนก่อน +1

      @@CodeJana I have sent you message in twitter

  • @vaishalshrimali1773
    @vaishalshrimali1773 10 หลายเดือนก่อน +1

    One question that, how to work with webhook ?

    • @CodeJana
      @CodeJana  10 หลายเดือนก่อน

      Can you elaborate?

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

  • @Kennethlumor
    @Kennethlumor 2 ปีที่แล้ว +1

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

    • @CodeJana
      @CodeJana  2 ปีที่แล้ว +1

      Hi there Kenneth... I've found this wonderful tutorial for you.
      th-cam.com/video/UqRawhLNE-0/w-d-xo.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

  • @bhaveshmahavar1293
    @bhaveshmahavar1293 6 หลายเดือนก่อน +1

    Hey brother how can i send pdf ?

    • @CodeJana
      @CodeJana  6 หลายเดือนก่อน

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

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

  • @Kennethlumor
    @Kennethlumor 2 ปีที่แล้ว

    Please help me 😢

  • @lovestats2647
    @lovestats2647 2 ปีที่แล้ว

    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 ปีที่แล้ว +1

      @@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 : th-cam.com/video/3Oqa0fwdD5M/w-d-xo.html

  • @ashishrock9585
    @ashishrock9585 8 หลายเดือนก่อน +1

    How to send WhatsApp message on group

    • @CodeJana
      @CodeJana  8 หลายเดือนก่อน

      Hi... Did you checkout twilio documentation?

    • @ashishrock9585
      @ashishrock9585 7 หลายเดือนก่อน +1

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

    • @CodeJana
      @CodeJana  7 หลายเดือนก่อน +1

      @@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: th-cam.com/video/_mOpa5j4j5w/w-d-xo.html 👀

  • @Kennethlumor
    @Kennethlumor 2 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

      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 ปีที่แล้ว +1

      @@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 ปีที่แล้ว +1

      @@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
    @juandanielvelezmunoz2667 8 หลายเดือนก่อน +1

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

    • @CodeJana
      @CodeJana  8 หลายเดือนก่อน

      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