Handling Incoming Phone Calls with Server Side Swift, Vapor and Twilio

Screen Shot 2018-06-01 at 11.37.46 AM

You’re building a Vapor app and want to be able to handle phone calls? Let’s walk through how to add Twilio Programmable Voice to the barebones Vapor “Hello World” app. Swift Package Manager For this project we’re going to use Swift Package Manager to set everything up and install dependencies. Make sure you have Swift 4.0 or greater installed before moving on. You can check your Swift version by running… Read More

How to receive/download picture messages in Node.js with Twilio MMS

Screen Shot 2018-05-30 at 2.57.40 PM

Have you ever needed to programmatically download an image from an MMS message sent to your Twilio number? Well here’s all the code you need to do this using Node.js and Express:

To run the above code, you’ll need to have the Twilio Node helper library installed, as well as the Express framework. Can you walk me through this step by step? Absolutely! When someone texts your… Read More

Receiving and Responding to Text Messages with Server Side Swift, Vapor and Twilio

Screen Shot 2018-05-29 at 7.05.00 PM

You’re building a Vapor app and want to be able to respond to SMS messages? Let’s walk through how to add Twilio SMS to the barebones Vapor “Hello World” app. Swift Package Manager For this project we’re going to use Swift Package Manager to set everything up and install dependencies. Make sure you have Swift 4.0 or greater installed before moving on. You can check your Swift version by running… Read More

How to receive a POST request with server side Swift using Vapor

Screen Shot 2018-05-21 at 9.41.09 PM

After displaying text on a web page, receiving a POST request is the “Hello, World” v2 of building a web app. Let’s walk through how to do that using the popular server side Swift web framework, Vapor. Swift Package Manager For this project we’re going to use Swift Package Manager to set everything up and install dependencies. Make sure you have Swift 4.0 or greater installed before moving on…. Read More

How to receive and download picture messages in Python with Twilio MMS

Screen Shot 2018-05-10 at 5.26.51 PM

Have you ever needed to programmatically download an image from an MMS message sent to your Twilio number? Well here’s all the code you need to do this using Python and Flask:

To run the above code, you’ll need to have the Twilio Python helper library installed, as well as the Flask framework. Don’t forget to replace the value of the DOWNLOAD_DIRECTORY variable with a path to… Read More

Playing Pokemon via SMS in Swift Using Vapor and Twilio

Screen Shot 2018-04-30 at 6.03.39 PM

Pokemon filled many childhoods with joy. For some of us as adults, server side Swift does the same. What better way to spend a fun afternoon than combining the two? Let’s walk through how to build your own version of Twitch Plays Pokemon powered by text messages using the Twilio API, Vapor and Lua scripting for the Visual Boy Advance emulator. Getting Equipped Before moving on you’ll… Read More

Setting up a Twilio Programmable Wireless SIM Card for SMS and Phone Calls

marshallartmag

With Twilio Programmable Wireless you can deploy and manage fleets of cellular connected devices, power connectivity for the Internet of Things and enable highly customized communications use cases. A couple of weekends ago, I attended the MAGFest video game music festival and had a blast! My friend Mikhail from Russia visited because his band Marshall Art was playing the festival (hint: they ruled). When he got to… Read More