If you're building a mobile application and you need access to the user's contacts you wouldn't give it a second thought, but on the web this feature was missing. The Chrome team saw this gap and got to work on an API that makes users' contacts available to developers with the security and privacy expected on the web. That API is now available in Chrome 80 on Android M or later.
The Contact Picker API
The Contact Picker API consists of the
ContactsManager object, available as the
contacts property on the
navigator object. As it is only supported on Chrome on Android for now, the first thing we should concern ourselves with is checking for support. We can do …
Another conference call, another app, another PIN, another log-in. Joining conference calls shouldn’t take more than simply dialing a phone number. Lets walk through how you can quickly build a conference line anyone and everyone can use with Twilio Functions.
Setting up a Twilio Function
You’ll need to create a Twilio account if you don’t already have one. From the Twilio Functions page in your Twilio Console, create a new Function and select the “Blank” template as seen in this image:
Give your function a name and a path.
Writing code to handle incoming calls
Now replace the default code in the function with the following code for our app, and click save:
exports.handler = funct …
It was Mother’s Day last weekend (For those of us in the UK*), and I’m going to be totally honest: I completely forgot! The worst part is that most of the shops were closed so I was not able to go out shopping for a personal gift. Now, I could have just headed online and ordered a generic gift. However, I wanted this gift to be more personalised, something to remind my mum of the amazing influence that she has had on my life and the lives of others. So I decided to crowdsource pictures and messages from my extended family and my mum’s friends to create a scrapbook full of memories and personal messages. Here’s how I did it:
Step 1: Design an Overlay
I wanted all the photos that were sent in to have an overlay that has the names of the people in the photo. A bit …
Another conference call, another app, another PIN, another log-in. Joining conference calls shouldn’t take more than simply dialing a phone number. Lets walk through how you can quickly build a conference line anyone and everyone can use with Node.js.
Development Environment Setup
Start by making sure you have the right software installed that you'll need to use for the rest of this post. You will need:
- Node.js and npm installed (do this first if you haven't already)
- A free Twilio account and a Twilio phone number
- The npm modules for Express and the Twilio Node library
Here is a good guide to follow in general if you are going to be doing more with Twilio and Node.js and have any more questions.
To install these npm modules, navigate to the directory where you want this code to live and run the following command in your terminal to create an npm …
Making HTTP requests is core functionality for modern languages and one of the first things many developers learn when acclimating to new environments. When it comes to Node.js there are a fair amount of solutions to this problem both built into the language and by the community. Let’s take a look at some of the most popular ones.
As in the other post, we’ll be using NASA’s Astronomy Picture of the Day API as the JSON API that we are interacting with in all of these examples because space is the coolest …
If your PBX solution does not natively allow for remote working and you need to act fast, this solution is for you. This tutorial shows you how to create a solution with Twilio Programmable Voice and softphone software that enables employees to work from their homes.
Configure the Programmable Voice SIP Endpoint
You can forward incoming calls to Twilio numbers registered to SIP endpoints, and use a free softphone as an endpoint while working from home, as shown below:
To get started with the project you will need the following:
- A Twilio account. Sign up for a free trial account and get a $10 credit.
- A call-enabled Twilio Phone Number.
- SIP endpoint (IP Phones (e.g. Obihai) or Softphones (e.g. Zoiper or X-Lite)).
Create the application
Go to twilio.com and sign up for a free account or log in to your existing account.
If you don't currently own a Twilio …
Lots of businesses want to be able to communicate over SMS to their customers but struggle to integrate with established processes like shared email inboxes. Do you share a phone with the team, or do you opt for an inflexible 3rd party Email to SMS gateway with strict routing rules?
Now, with the power of Twilio SendGrid email and Twilio SMS, you can quickly set up your own two-way email to SMS forwarding solution.
The Node.js ecosystem is full with useful CLI tools and most of them offer configurations that let you tune them to do exactly what you want. However, sometimes you still have the need for very custom configurations and scripts. This is where "npm scripts" come into place. While you might have used this to set up your "build", "dev" or "start" script, there's a lot of things you can do with them. In this blog post we'll talk about the most useful and some hidden features.
Before we get started, make sure you have the latest version of
npm installed. While a lot of these things should work in
pnpm as well, we'll focus on
npm in this article. Everything in this post has been tested with
npm version 6.10.
What are npm scripts?
When we talk about "npm scripts" we are talking about entries in …
We have all probably dreamed at some point of having a second version of ourselves – helping out on our behalf, being reachable at any time of the day…
Wouldn’t it be great to have a bot with your voice, catchphrases, and laughter? It would make it possible for your loved ones to listen to you whenever they like, but it can also bring your customers’ bot experience to a whole new level.
In this blog post, let’s build a bot with our own voice and connect it to one of our Twilio numbers, that it can be called any time – for example, by your partner when you’re not around.
How your company can use Autopilot
Twilio’s artificial intelligence platform, Autopilot, now supports playing audio files for conversational bot phone calls, as an addition to the existing text-to-speech.
In your company, this feature can be used to completely change …
We spend a lot of time sorting out future plans, and there are some people who seem to have their whole calendar in mind at a moment’s notice. Whether it’s planning to hang out with friends or setting up meetings with colleagues, you can acquire a mystical air by knowing a quick mathematical trick to calculate the day of the week for any date. With a little practice, you can do it in a matter of seconds while others are still fumbling their phones out of their pockets.
In this post, I’ll explain the so-called Doomsday algorithm, and walk you through setting up an SMS chatbot for practising.