Sending SMS text and OTP Verification code In Python | Twilio in Python

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ก.ค. 2024
  • How to send SMS text and OTP Verification Text in Python using Twilio. In this tutorial we'll learn how to use Twilio, a Python Library to send SMS text and perform OTP verifications.
    #Python #Twilio #SendingSMS #SMS #otp
    TIME STAMP
    00:00 Introduction To Twilio in Python
    01:30 What is OTP
    02:43 Course Outline
    03:30 Installing Twilio in Python
    03:40 Installing Python dotenv
    09:34 Register a Twilio Account
    12:00 Sending SMS with Twilio
    22:48 Sending SMS with messages service in Twilio
    24:53 Sending OTP with Twilio
    32:20 Verifying OTP with Twilio
    Tags:
    - Python Tutorials
    - Sending SMS and OTP
    - Text Messages With Python
    - Code With Prince
    Data analysis course with Python : • Data Analysis With Python
    Flask dashboard web app: • Dashboard Web application
    Flask MongoDB: • Flask MongoDB Todo App
    Django dashboard webapp: • Django Inventory Manag...
    Deep Learning playlist: • Introduction To Comput...
    Machine Learing playlist: • How to install Numpy, ...
    Pandas: th-cam.com/play/PLU.html...
    seaborn: th-cam.com/play/PLU.html...
    Follow me on social media:
    Discord community server: / discord
    twitter: / prince_krampah
    Channel main page: / codewithprince
    Please like, share and subscribe to this channel for more of such videos.
    Happy coding!
    Prince
    P.s. Let me know how you go and drop a comment if you need a hand with the course!
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    Good information

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

    a while back then you wouldnt need to use a .env file you would just hard code your credentials as variables ..soo me nilikuwa nimezoea hivo just to come back to a project i did kitambo then all of a sudden code haifanyi sema kustrugle ..then saw your vid..really helped man asante bro💪💪

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

    Can you do images too?

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

    nice tutorial, please could you do a tutorial on Role Based Access Control with fastapi

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

      Thanks for the suggestion, I'll try to make a video on this topic as soon as I can.

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

    hello after 20:54 when i run basics_01.py it is showing me error that :- Unable to create record: A 'To' phone number is required.
    plz tell what can i do next

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

      use the country code along with your phone number .

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

    E como fazer um if ou else para saber se o código digitado é o mesmo que foi recebido por SMS?

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

      Eu demonstrei isso na última seção do vídeo, confira 32:20 para mais detalhes.
      Codificação feliz

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

      @@CodeWithPrince não me atentei a essa informação. Desculpe, consegui fazer o código e agradeço pela resposta

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

    so is there any way to try the otp code using the dictionary

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

      Hello Ngoc, in what sense "try the opt". I didn't quite get you there

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

      @@CodeWithPrince know how to attack password with dictionary so i mean attack otp code with dictionary

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

      Yes, I understand you now. I really don't know if that's doable, but hey, anything is possible 😉

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

    Bro please give your soure code

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

      Hey bro, I deleted the code. Sorry for that

  • @olaniyigeorge6960
    @olaniyigeorge6960 11 หลายเดือนก่อน +1

    How do you send OTPs to other numbers besides the one you created your Twillo acc with?

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

      Hey, you do that by having a paid version of twilio. Am using my number as that's the only option you have with a free account. Hope that clears things up.

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

      hey can we send otp to random number
      @@CodeWithPrince

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

    Bro slow the f* down, your talk is to fast.
    Anyway, well done