Will you need an umbrella today? Don't know? That's easy to fix by looking out the window or by using Azure Functions and its Twilio SMS output binding. In this post, I'll show you how with just a few lines of code you can have a text message arrive each morning which lets you know if it might rain that day.
Create an Azure Function
We'll start by creating a new Azure Function App in the Azure Portal.
Once created continue configuring the Function App by adding environment variables to hold our Twilio credentials. Open the Applications Settings for the Function App.
Add two new keys named
TwilioAuthToken, setting their values to your Twilio AccountSid and AuthToken respectively. You can find your Twilio credentials in the Twilio Console. …
SpaceX is on pace to launch nearly 30 rockets to space in 2018. As a space nerd, I really love watching launches and thankfully SpaceX broadcasts launch streams online. As frequent as launches are I forget when the next launch is so I can tune in. Thankfully SpaceX has a great API which includes an endpoint that tells you when the next launch is. In this post I'll show you how you can build a system using that API, Azure Logic Apps and Twilio SMS to send yourself a daily text message telling you if it's a launch day.
Log into your Azure account and create a new Logic App Service.
Once you have the Logic App Service created we can begin to define the workflow we want to run. Logic App workflows are …
Fax is back baby! With the launch of Programmable Fax, I thought why not bring back something else from my past, ASCII art. In this post I’ll show you how to make a simple web app that converts uploaded images to ASCII art then sends that art as a fax.
Next add the express dependency:
npm install -s express
Now create and open the applications main file. I called mine app.js. In it require express, create a new express app and then tell that app to start listening on port 3000.
var express = require('express') var app = express() app.listen …
Serving your customers well gets harder as our world gets smaller and the ways customers want to reach you increases. The IBM Watson Message Insights Add-On from the Twilio Add-Ons Marketplace detects the language of a text message, so that you can step up your support game and serve your customers in their native language.
Installing Message Add-Ons
The Twilio Add-Ons marketplace lets you add third-party functionality to your voice and messaging apps simply by flipping a switch in your Twilio …
The Programmable Voice Guide is jam packed with volumes of amazing information about Twilio Programmable Voice. In this post I’m going to introduce you to three topics that are personal favorites:
Phone calls don’t have to be a one-way conversation and the Guide can show you how. By using the
<Gather> TwiML verb you can have Twilio listen for a caller to press the buttons on their phone’s dial pad and report which buttons they pressed via a webhook request.
<?xml version="1.0" encoding="UTF-8"?> <!— page located at http://example.com/complex_gather.xml —> <Response> <Gather action="/process_gather.php" method="GET"> <Say> Please enter your account number, followed by the pound sign </Say> </Gather> <Say>We didn' …
In the movie Wall Street, one dimension of the main character Gordon Gecko that the film disappointingly fails to explore is his love of the outdoors. That’s right, he loves to go camping. Unexpected, right?
Gordon’s never going to get a data connection out there, but with a bit of Python and Twilio SMS he can still check his stock prices with only a few of those precious reception bars. Let’s find out how.
Setup and Build
For this simple app all you need is a Twilio account and a Python development environment. If you are new to Python it’s easy to set up sign up for a free trial.
Start by opening a terminal or command line and create a new virtual environment named ‘twilio-ticker’:
Activate the virtualenv:
The dependencies we need are requests, …!-->
Warning: The code in this blog post is outdated as our Video SDK was in BETA at the time of writing.
Check out our getting started section instead if you want help using Twilio video. If you choose to follow this tutorial you’ll need to make significant edits to the code to run.
If you want to skip ahead and grab the source for this post, it’s all on Github. Otherwise let’s get started.
Setting It All Up
Before we jump into the code we’ll need to do some setup. First, if you don’t already have a Twilio account hop on over to twilio.com and create …
“Chat with us now!”
We’ve all seen those popups on popular websites, letting you know that if you have a question or need some help there is someone (or something) that you can turn to. Sometimes though chat is just not the right medium for getting your question answered or the support you need. For a higher fidelity experience, stepping it up to video is the best option.
It’s the holiday season. For many of us it’s a time we reflect on how fortunate we are in our own lives and also how we can use our skills to give back to others in our communities. There are many organizations who are dedicated to the service of others and getting involved with one can be an immensely rewarding experience. But how do you know what organizations and opportunities are available in your local area?
VolunteerMatch is a website that makes it easy to match your skills to volunteer opportunities in your local area. They also have an API which is something we at Twilio are super fond of. In the spirit of the holiday season we partnered with VolunteerMatch to build an app that makes it even easier to find local volunteer opportunities.
Give it a try right now by texting your zip code to (314)-282-8630.
In this …
¿Hablas español? Qu’en est-il en Français? 中文？Ao idnu Tsis tuti tu’iyia rirzyia iw inams.
Whatever your own language be it English, French, Mandarin or Sith, not being able to communicate with others because of a difference in language is a pain. While we don’t yet have protocol droids able to instantly translate 6 million languages (we don’t even have 6 million languages) translation technology, especially translation of text, has come a long way. As a developer I now have a multitude of accurate, free or low cost translation API’s that I can easily integrate into an app.
Wouldn’t it be cool if you’re favorite chat application could make it easier to converse with people who do not use your language by automatically translating your messages into their language? Or better yet, what if you could just build that chat app yourself?
In this post I’ll show you how you can …