I have not yet seen a Twilio tutorial that shows this working outside a local environment. I honestly cannot tell if I need to install node.js on the server or not. I assume no. But I've been told to upload everything. And everything included the node_modules and git files. Uploading the git files makes no sense, but uploading the node_modules suggests I need to install node.js on the server.
Great guide, thanks. Have noticed though that this and the tutorial on your site mention receiving messages, but don't show how to access them (only how to send a stock response).
The "username is required" error means that you have not passed an AccountSid in the line: const client = require('twilio')(accountSid, authToken); You can retrieve your AccountSid and AuthToken from twilio.com/console and then make sure to pass those in (preferably set in an environment variable).
Can you share the error, many a times ngrok tunnel expires... you should first do node server.js then once on local server 1337 port its running then make it ngrok link as said in video and in twilio-whatapp dashboard put that url in webhook with /sms at the the end. Hope it helps :)
If you are using a trial account you can only send to the phone number you verified on the account. You’ll need to upgrade the account to send to others.
If you mean what I think you mean, this should help: support.twilio.com/hc/en-us/articles/223181348-Getting-Started-with-Alphanumeric-Sender-ID-for-Twilio-Programmable-SMS
Dude, what kind of a BS is this? I'm not a coder and that's not my job to code your stuff; that's YOUR job to code this on YOUR site so when I choose the forwarded option and save it, it's done with a few clicks on your website, which is way to complicated by the way. Menus appear and disappear, it's pretty hard to find the studio and even though I have set up the flows, it's still not forwarding. On top of that your customer service response time is over 48 hours.
Great material. Nice and concise, and not too slow! Waiting for a lot more of these
"Robots are coming! Head for the hills!" :D
That cracked me up :"D
I have not yet seen a Twilio tutorial that shows this working outside a local environment. I honestly cannot tell if I need to install node.js on the server or not. I assume no. But I've been told to upload everything. And everything included the node_modules and git files. Uploading the git files makes no sense, but uploading the node_modules suggests I need to install node.js on the server.
Wow!!!
Twilio is amazing!
Great guide, thanks.
Have noticed though that this and the tutorial on your site mention receiving messages, but don't show how to access them (only how to send a stock response).
www.twilio.com/docs/sms/tutorials/how-to-retrieve-and-modify-message-history-node-js
@@twilio Thanks!
@twilio, How to add mask to twilio phone number?
hi.. question, I have been to followed the tutorial, but stil get error "url.URL is not a constructor". help me to solve it. thanks :)
Thanks Twilio.
is there a way to pull the sender's Number & message out of the request? req.Message or req.phoneNumber ?
Yes both come on as parameters from Twilio. The message is there as Body and the from phone number is From.
How can I make video chat website using node.js and twillo?
when i run the code on cmd it gives me this error ("throw new Error('username is required');")
Please give me a solution.
The "username is required" error means that you have not passed an AccountSid in the line: const client = require('twilio')(accountSid, authToken);
You can retrieve your AccountSid and AuthToken from twilio.com/console and then make sure to pass those in (preferably set in an environment variable).
@@twilio hello sir i have use this const client = require('twilio')(accountSid, authToken); line but i have same username error problem..
I had to add in the beginning of the code to get it working :
require ('dotenv').load ();
Ngrok link shows error....l tried various times.....please help me....plzzz🙏🙏🙏
Can you share the error, many a times ngrok tunnel expires... you should first do node server.js then once on local server 1337 port its running then make it ngrok link as said in video and in twilio-whatapp dashboard put that url in webhook with /sms at the the end. Hope it helps :)
HELP !!!
When i click on buy it tells me "Upgrade required to purchase number"
im 2 years late but depending on your account you can only have a limited amount of numbers so you might want to upgrade
after i paste the url from ngrok and send a reply to the text im getting a 502 bad gateway reponse
tyler ceja did you add a /sms to the URL?
im trying to send a message to my friend from my number but it doesnt work
If you are using a trial account you can only send to the phone number you verified on the account. You’ll need to upgrade the account to send to others.
@@twilio i upgrade still it's not possible to send other number
great but problem with India. No Indian numbers. and I am not able to send any message but I can receive messages to phone.
How to change the SMS header (friendly name)
If you mean what I think you mean, this should help: support.twilio.com/hc/en-us/articles/223181348-Getting-Started-with-Alphanumeric-Sender-ID-for-Twilio-Programmable-SMS
@@twilio please help me....ngrok( webhook) shows error.....i tried various time🙏🙏🙏
nice
Dude, what kind of a BS is this? I'm not a coder and that's not my job to code your stuff; that's YOUR job to code this on YOUR site so when I choose the forwarded option and save it, it's done with a few clicks on your website, which is way to complicated by the way. Menus appear and disappear, it's pretty hard to find the studio and even though I have set up the flows, it's still not forwarding.
On top of that your customer service response time is over 48 hours.
maybe you should hire a coder then
This is an API, you are suppose to hook your code up to their code.