SMS API in 5 minutes with AWS SNS and NodeJS

Поділитися
Вставка
  • Опубліковано 7 лис 2024

КОМЕНТАРІ • 73

  • @htoufik6048
    @htoufik6048 Рік тому +9

    is this batman ????

  • @JustinHutchens2342
    @JustinHutchens2342 2 роки тому +5

    Great video. Simple and straight to the point. Probably the best tutorial that I've seen for using SMS through AWS. Thanks for the great video!!

  • @bobdpa
    @bobdpa 2 роки тому +2

    I thought I was watching pirates of the Caribbean with his voice lol. Great tutorial though 🙋‍♂️

  • @vincent-thomas
    @vincent-thomas 3 роки тому +1

    Wooow, you sound like the oldest brother in the peaky blinders

  • @nsvot
    @nsvot 2 роки тому +1

    you have the batman voice sir!

  • @TorBarstad
    @TorBarstad 4 роки тому +3

    This was very helpful! Perhaps you saved me days or even weeks.. Thank you very much!

  • @AnteZivkovic
    @AnteZivkovic 2 роки тому +1

    Thanks buddy! Straight to the point

  • @diepmyduong
    @diepmyduong 2 роки тому +1

    Are you batman ? LOL

  • @aristidefernandez7938
    @aristidefernandez7938 3 роки тому +2

    Well, I have a question, for it to work I had to first register the recipient number in aws, do you know if it is completely necessary or if there is some way to send without doing that previous registration since I am going to send massively and I will not be able to register those numbers.

  • @ahmedmoussa5710
    @ahmedmoussa5710 2 роки тому +1

    Hello, I got a problem with this... I do not get the sms I send after some sends. I sent 5 tests and after I did not receie any test anymore

    • @sbcode
      @sbcode  2 роки тому

      Maybe your AWS account is in the sandbox. docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html.
      You have to AWS why?

  • @bilumethimothe413
    @bilumethimothe413 5 років тому +1

    Brother Thanks so much for this wonderful video. just feel proud brother for your time

  • @francis_js
    @francis_js 3 роки тому +2

    Great work, thank you. Awesome voice, congrats...

  • @ohhhkComputer
    @ohhhkComputer 3 роки тому +1

    Thank you so much mate! You saved my day!!!

  • @deathdefier45
    @deathdefier45 2 роки тому +1

    Life saver

  • @franciskapsowe9183
    @franciskapsowe9183 4 роки тому +1

    You look like the cat at the end of the video. Thanks for the Video.

  • @funOptix
    @funOptix 3 роки тому +2

    Great video. Can you also share how we can send Transactional SMS using JS SDK?

  • @royjones4570
    @royjones4570 2 роки тому

    Quick question, can you send images as well or short links?

  • @paulezekiel-hart733
    @paulezekiel-hart733 2 роки тому

    This video is the topic i've seen of this topic
    however i am still having issues with the virtual number i'm not experience with AWS and just started using it and i discovered that i'll be needing a virtual number or (Sender ID) i just purchased a virtual number but i dont know how to link it to my SMS. the virtual number has a pending status though could that be the reason for my issue?
    any kind of help will be highly appreciated.

    • @sbcode
      @sbcode  2 роки тому

      AWS is different now than when i created the video. You need to do what AWS says if you want AWS to work.

  • @alokpatel9039
    @alokpatel9039 2 роки тому

    Hey, it really helpful for me. Thanks for your time but i have one doubt
    While i try to send message on Indian number, i received messageId successfully but message is not delivere on phone.
    I am using resign as us-east-1.
    Please guide me.
    I'm using sand box account.

    • @sbcode
      @sbcode  2 роки тому

      See docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html

  • @jrrobles79
    @jrrobles79 5 років тому +1

    Any tips of how to check for errors on delivering the sms? My sms were working fine and suddenly stoped working, on my delivery statistics diagram Im getting only failed sms for a couple of days now. There is a lack of information on forums of how to deal with this...

    • @sbcode
      @sbcode  5 років тому

      you will need to contact aws support to increase your spending limit. aws.amazon.com/premiumsupport/knowledge-center/sns-sms-spending-limit-increase/

  • @laventliving3398
    @laventliving3398 2 роки тому

    Hey man,
    I really liked your video, what is the best location for Africa, because it seems like I'm it's taking forever for the sms to arrive

    • @sbcode
      @sbcode  2 роки тому

      AWS is very unreliable for SMS, especially in Africa. Have any arrived?

    • @laventliving3398
      @laventliving3398 2 роки тому

      @@sbcode it still has not arrived

    • @numpyasnum1768
      @numpyasnum1768 2 роки тому

      Damn, same problem here too

  • @mdsalahuddin6307
    @mdsalahuddin6307 4 роки тому +1

    Thank you. Would you release a video on receiving sms to aws virtual number access the sms data to an html page in your project?

  • @AmitYadav-rl6ff
    @AmitYadav-rl6ff 3 роки тому

    All the messages I send following the procedure are not delivered and are marked as failed. Any suggestions?

    • @sbcode
      @sbcode  3 роки тому

      all clues are in the video. Maybe AWS is limiting you.

  • @PapaKiPoorvi
    @PapaKiPoorvi 3 роки тому

    Thanks for this great work. I am able to send and receive message. Only one question I do have is, we keep all credential in .env file, and included package dotenv in app.js file. But not clear where we are assigning the keys that defined in .env file. Appreciate if any info with this regards. Thank you.

    • @sbcode
      @sbcode  3 роки тому

      The aws-sdk imported in the app.js script is using it

  • @wilfrieddjopa8379
    @wilfrieddjopa8379 5 років тому

    Thank you so much for this video.

    • @wilfrieddjopa8379
      @wilfrieddjopa8379 5 років тому

      I tried it worked fine for the first 12 tests. Then nothing, can you do something? Maybe I have to pay a subscription?

    • @sbcode
      @sbcode  5 років тому

      @@wilfrieddjopa8379 Sounds like you need to get aws support to up your spending limit. aws.amazon.com/premiumsupport/knowledge-center/sns-sms-spending-limit-increase/

  • @sudeep1004
    @sudeep1004 3 роки тому

    Hi
    How to add SENDERID? I thought it can be pushed with subject but it doesn't work.

    • @sbcode
      @sbcode  3 роки тому

      sms rules are different for different countries

  • @amaancodes
    @amaancodes 4 роки тому +1

    thanks man!

  • @rafabiton1
    @rafabiton1 3 роки тому

    Tks guy!

  • @ubaidkolad4880
    @ubaidkolad4880 4 роки тому

    I get the message ID and a successful response from both nodejs and console, but no message is received. It just says failed in the console

    • @sbcode
      @sbcode  4 роки тому

      the word 'failed' doesn't even exist in my code.
      github.com/Sean-Bradley/AWS-SNS-SMS-with-NodeJS/search?q=failed&unscoped_q=failed
      So maybe its something else.

  • @akilamani7242
    @akilamani7242 4 роки тому

    Sender Id generated but still not able to receive msg

  • @vaahshs8352
    @vaahshs8352 4 роки тому

    nice But can we sent bulk at a single Comands to 32000 Users. what changes required in code sir.

    • @sbcode
      @sbcode  4 роки тому

      you will need to create an array of numbers and loop through them and send an SMS for each number in the array. Hire a programmer. Also AWS wont allow you to send 32000 SMS unless you have set up your account fully with restrictions removed. Anyway, I find AWS very unreliable. It sends messages, and the message sometimes didn't arrive, but it still charges you for it. AWS will want to know that you are not spamming. ie, have the permission from the recipient to receive SMS.

  • @kaiophillipe6004
    @kaiophillipe6004 2 роки тому

    NO RUN || NÃO TA RODANDO
    EN: If you aren't able to send through this code. It's because your account is in the sandbox. You need remove the sandbox in configurations or verify your own phone number, to recive sms text in this number.
    PT: Se você não está conseguindo enviar utilizando esse código node. É porque sua conta está na sandbox. E você precisa remove-la nas configurações do aws sns sms ou verificar seu próprio número de telefone, para receber os SMS nele mesmo. Só será possível enviar para outros números após remover do sandbox.

  • @kirankamble9933
    @kirankamble9933 5 років тому

    Thank you so much seanwasere ytbe for this video, literally it takes only 5 to 10 minutes

    • @sbcode
      @sbcode  5 років тому

      Cool. The second time you do it, you'll finish it in under 5 mins for sure. in the video I unnecessarily enter the SNS Admin page in AWS, so you can save a few seconds there.

    • @kirankamble9933
      @kirankamble9933 5 років тому

      @@sbcode i am giving subject as KIRANKAMBLE but the msg comeing from 014529 ??

    • @sbcode
      @sbcode  5 років тому

      @@kirankamble9933 There could be many reasons why the subject line doesn't show on your messaging app. Try a shorter subject with less letters, such as KIRAN, it may be a setting on your phone, also your phone connectivity provider might think it's spam and not show it. In some countries they don't show them at all. I don't know which countries. Anyway, the code works for me and many other people who've tried it. Which country code you using? I will look it up.

    • @kirankamble9933
      @kirankamble9933 5 років тому

      @@sbcode +91

    • @sbcode
      @sbcode  5 років тому

      ​@@kirankamble9933 I found something that says India is Alphabetic (6 characters) . So KIRAN should atleast work according to that.
      Also, try setting the default Sender ID in the AWS SNS Text Messaging Text messaging preferences for which ever AWS region you use. I don't see SMS option for Mumbai

  • @nazifhalilac1306
    @nazifhalilac1306 2 роки тому +1

    hey batman

  • @abril99mx
    @abril99mx 5 років тому

    great, Thanks so much

  • @djaos-8326
    @djaos-8326 3 роки тому

    Not work for me

  • @kernellpanic
    @kernellpanic 7 місяців тому

    How to send to US numbers?

    • @sbcode
      @sbcode  7 місяців тому

      "how to send to us", i dont even know who you are

    • @kernellpanic
      @kernellpanic 7 місяців тому

      @@sbcode 😐

  • @marlonmarlongl
    @marlonmarlongl 3 роки тому

    How do I host these files for not using on localhost?

    • @sbcode
      @sbcode  3 роки тому +1

      run it on a cloud server. Ubuntu 20.04 is good. Get a cheap one from here.
      m.do.co/c/23d277be9014
      you will get a public ip address.
      use iptables to manage port forwarding rules to limit access.
      sbcode.net/zabbix/iptables-cheatsheet/

  • @MarcoAurelioLegiere
    @MarcoAurelioLegiere 5 років тому

    How do I send to multiple numbers, for example have a numbers.txt and import these numbers so that js do these multiple submissions? Thank you.
    Sorry for my English.

    • @sbcode
      @sbcode  5 років тому

      you can write a script in python, c#, nodejs, php or many others, that will loop through your list and make a new request for each number.

    • @deancrypto5939
      @deancrypto5939 4 роки тому

      @@sbcode anychance you could do that and add to the github repo ?? thanks in advance i really need something like this for my business

  • @4dagi01
    @4dagi01 4 роки тому

    How to deploy for production mode?

    • @sbcode
      @sbcode  4 роки тому

      You will need to hire a bunch of professionals in the field of production servers and deployment. Or you could just use my production service sms.sbcode.net/ It's quite expensive though, but it is still significantly cheaper compared to needing to hire somebody to manage all the requirements of production for you.

  • @arihantjain4305
    @arihantjain4305 5 років тому

    Thanks...

  • @hatim200901
    @hatim200901 5 років тому

    Thank you so much .
    any help about Integrations amazonSNS with mautic.org or playsms.org??

  • @hvuru7202
    @hvuru7202 4 роки тому

    bruhhhh... where is node js here.....

    • @sbcode
      @sbcode  4 роки тому +1

      I really don’t know what you are trying to say. Are you trying to appear clever by suggesting that I'm not? Wow! look at you.