Twilio and Nodejs | How to send SMS Text Messages from Node js

Sdílet
Vložit
  • čas přidán 9. 02. 2022
  • In This video we are going to learn how to send sms text messages from node js using a third party called twilio
    Twilio :
    www.twilio.com/
    source code :
    var sid = "xxxxxxxxxxxxxxxxxxxxxxxxxxx";
    var auth_token = "xxxxxxxxxxxxxxxxxxxxxxxxx;
    var twilio = require("twilio")(sid, auth_token);
    twilio.messages
    .create({
    from: "+1xxxxxxxxxx",
    to: "+9199999xxxxxx",
    body: "this is a testing message",
    })
    .then(function(res) {console.log("message has sent!")})
    .catch(function(err) {
    console.log(err);
    });

Komentáře • 20

  • @mohitsaud2071
    @mohitsaud2071 Před rokem +2

    Thanks bro. To the point. Learned another great thing. Thank you. Subscribed and liked.

  • @vishnunavaneethkrishnan3334

    Concise and helpful!

  • @stephenmaro7219
    @stephenmaro7219 Před rokem +2

    very clear! thank you from the bottom of my heart :D

  • @DavidNYIRINGABO
    @DavidNYIRINGABO Před rokem +3

    Thanks brother, very helpful. 👌

  • @nukode-5974
    @nukode-5974 Před rokem

    It worked from the first try, Thank you so much :)

  • @suryateja2524
    @suryateja2524 Před 2 lety +1

    Thanks 👍 . For doing this video

  • @josephkamande4502
    @josephkamande4502 Před rokem

    Thanks. Very helpful video

  • @shivamagrahari7586
    @shivamagrahari7586 Před rokem +1

    helpful video bro ❤

  • @pamidiram2437
    @pamidiram2437 Před rokem

    very goood explanation and clear voice 😎

  • @chriscalver8595
    @chriscalver8595 Před 6 měsíci

    Works perfect!!!! Tks

  • @aayush3990
    @aayush3990 Před 2 lety +1

    Big help!!

  • @Healthcareerperson
    @Healthcareerperson Před rokem

    Here how can we send to different phone number when user visit to the site.

  • @sujototirtoutomowibowo8215

    thanks! but im try send two message and the number need verify :(

  • @WebDevCodes
    @WebDevCodes Před rokem

    AoA, mein ak sms dashboard bna raha jis mein chahta hon virtual number create ho or sms buy hon send or receive hon koi bta sakta ha kiya kaisey

  • @vicentjohn3168
    @vicentjohn3168 Před 2 lety

    how if i want to send to multiple numbe

  • @simratsingh9483
    @simratsingh9483 Před 8 měsíci

    On how many numbers can i send in once ?

  • @banupriya6744
    @banupriya6744 Před rokem

    How to send form data into sms

  • @cse090priyanshmishra6

    Is there any alternative to twilio, or how can i make my own api to send otp verification in nodejs

  • @johnme60
    @johnme60 Před 2 lety

    Twilio don't even creates accounts , it suspend the account after creating and then sends emails asking our information, who are you , what you do ? send your app to us ? what are you planning to do?
    What's going on . do they do it with everybody from now?

  • @Blenberg
    @Blenberg Před rokem +2

    How get free number