Once deployed, any SMS message sent to your Twilio number will be echoed right back to you.
-
Clone this repo:
git clone https://github.com/paulfurley/twilio-heroku-sms-echo
-
Create a new app on Heroku
-
Follow Heroku instructions to add a new git remote
heroku
-
Deploy to heroku
export APP_NAME=<your-app-name> git push heroku master heroku ps:scale web=1
-
Configure Twilio messaging to point to
https://<your-app-name>.herokuapp.com/sms/
-
Send SMS to your Twilio number.
-
Receive SMS reply!