Level up your Twilio API skills in TwilioQuest, an educational game for Mac, Windows, and Linux. Download Now
Build the future of communications.
Start building for free
  • By Lizzie Siegle
    5 Questions to Ask Yourself before Working with a Dataset header img dataset

    Recently I was looking for some datasets to analyze and make predictions based on data for a blog post project. I got stuck when I kept running into datasets that were fun but not good: oftentimes, AI projects struggle due in part to data-related issues.

    What makes a dataset good or bad? What are some things you should consider when looking at a dataset? How should you interpret a dataset, from beginning to end? Read on to find out!

    5 questions to ask yourself before working with a dataset

    1. How was the data compiled? 

    Was it aggregated from multiple sources? Did you compile it? If it came from different sources, you may have to format the data so different variables within a given attribute are consistent, such as dates, times, addresses, states or cities (maybe they’re abbreviated?), numbers like currency, etc., and some of the data may not be …

    Read More
  • By AJ Saulsberry
    Using RxJS Observables With JavaScript Async and Await rxjs-observables-async-await.png

    There are a number of resources for handling asynchronous tasks in JavaScript, each with its own strengths and suitability to specific tasks. Sometimes a single tool is all that’s necessary to accomplish a task, but there are programming challenges which can be handled more effectively by combining the capabilities of tools.

    RxJS Observables enable you to operate on sequences of data, like the results of a REST API call, as if they were events, acting on new and updated data from the Observable object when the change occurs. They’re great tools to use when the timing of data events is unpredictable, like when you’re dealing with slow or occasionally unreliable web services.

    JavaScript Promises are useful when you need a placeholder for the results of a task that might fail and need to respond differently depending on the task’s success or failure. Promise objects can be used with the JavaScript …

    Read More
  • By Aaron Alaniz
    Measure the App Size Impact of Android Libraries apkscale Header

    Users – especially those with pay-per-byte mobile plans – will avoid downloading Android applications if they are too large. As a result, managing your Android application size helps ensure that users are not deterred from trying out your application. Google provides great strategies for reducing your application size, but many applications depend on third-party libraries which may not consider their app size impact.

    Here at Twilio we understand this challenge, which is why we publish the app size impact of our Voice and Video Android SDKs with every release. Our CI pipeline contains a size measurement step, so we ensure that we do not introduce any unexpected size regressions during the development process.

    Today, we are happy to announce that we have open sourced the utility we use to measure the size of our Android SDKs: apkscale.

    Measure up

    Apkscale is a Gradle plugin that helps measure the app …

    Read More
  • By Layla Porter
    Building a real-world Twilio application in ASP.NET Core Building a real-world Twilio application in ASP.NET Core and C#

    As developers, we are well-used to taking a mix of code examples and trying to figure out how to actually implement these disjointed bits into a real world application.

    In an effort to make this process easier, I created a detailed, real-world five-part video workshop!

    I've used .NET Core to build the application in the workshop. .NET Core is an awesome framework and completely cross-platform, so whether you are on macOS, Windows or Linux, you can follow along with the code.

    The workshop utilises Twilio products such as Twilio Studio, Twilio API for WhatsApp and Twilio SendGrid.

    The workshop focusses (that's the British spelling for my American grammar checking friends!) on building out an ASP.NET Core 3.1 MVC application for The Cloud City Cake Co.. The Cloud City Cake Co. loves using tech to make the lives of its customers easier through technology.

    What's covered

    In video …

    Read More
  • By Sebastián Jaramillo
    Phone Number Compliance is Easier with Reusable Objects Regulatory Objects

    Today, we’re excited to let you know that we’re making Phone Number compliance easier by providing a more convenient workflow to fulfill regulatory requirements. By allowing you to reuse supporting documentation and identity information, meeting regulatory requirements and keeping all your new and existing numbers in compliance is easier than ever before!

    With this enhancement, it will be much simpler for you to create Regulatory Bundles to provision new Phone Numbers. Additionally, if you have non-compliant Phone Numbers, it will be faster to bring those numbers to compliance.

    Reusing Supporting Documentation and Identity Information (Regulatory Objects)

    As you may know, Twilio’s Regulatory Compliance product enables you to fulfill regulatory requirements when provisioning Phone Numbers in regulated countries. To do so, you often must provide identity and supporting documentation to meet a country’s regulatory requirements.

    To meet these regulations, we collect customer data in the form of Supporting Document and …

    Read More
  • By Diane Phan
    Deploy a Flask App on AWS EC2 Instance - No Stress Involved! header - How to Deploy a Flask App on AWS EC2 Instance

    So you created your first Twilio app and it became a hit, great! That’s no surprise with the magic of Twilio. But wait, since Twilio is so popular, why not deploy the app to a live site so that it can live on without you having to constantly run the app on your local computer?

    Follow this tutorial to learn how to quickly deploy your functional Flask application to Amazon Web Services (AWS). Get ready to impress people with a live Twilio and Flask application on the web for free!

    Tutorial Requirements

    Read More
  • By Jesse Sumrak
    How to Get Started With WebRTC: Intro to Browser APIs WebRTC Intro

    WebRTC (Web Real-Time Communication) empowers developers to build powerful voice and video communication solutions on web pages that work across browsers and devices. No plugins necessary. Whether you're building peer-to-peer video, content sharing, messaging, or chat tools, WebRTC makes coding easy and the end experience user-friendly.

    Best of all, WebRTC is completely free. This open-source project provides the simple APIs needed to get audio and video communications working seamlessly on your web pages. Apple, Microsoft, Google, Mozilla, and Opera all support WebRTC's standardization across devices and browsers, so expect this new standard to stick around for the long haul.

    If you're looking to use WebRTC APIs for your on-page communication solutions, we'll walk you through everything you need to know. First, we'll start with common use cases and benefits, and then we'll move on to how you can get started with WebRTC in little-to-no time.

    What Is WebRTC used for? …

    Read More
  • By Chiara Massironi
    Twilio Perks for Students and Educators Now Available with GitHub Education GitHub Education Launch

    GitHub Education helps students, teachers, and schools access the tools and events they need to shape the next generation of software development. As a developer-first company, Twilio is thrilled to partner with GitHub to serve these developers in this part of their programming journey.

    Twilio & GitHub Education

    This year, Twilio launched the TwilioQuest for Education program which aims to create fun and engaging computer science learning experiences for students of any age and experience level. Through the GitHub Education partnership, both students and educators will have the ability to learn about and use Twilio's APIs when building real-life applications, and enhance their programming skills with TwilioQuest.

    Student Developer Pack

    Through the GitHub Student Developer Pack, Twilio is pleased to offer the following awesome benefits for students:

    • $50 USD in Twilio API credits
    • Exclusive in-game items in TwilioQuest

    Teacher Toolbox

    Through the GitHub Teacher Toolbox, Twilio is …

    Read More
  • By Ashley Carroll
    Getting Started with Helm: Templates and SLOs Getting Started with Helm: Templates and SLOs

    As many companies in the tech industry shift towards smaller, more independent microservices, tools like Kubernetes, Docker, and Helm are becoming essential in facilitating the development and deployment of these microservices.

    While Kubernetes is used to manage available resources and orchestrate deployments, Helm is a tool that allows developers to coordinate the information sent to Kubernetes clusters. Helm runs on top of Kubernetes and outlines how an application will be structured.

    Let’s take a closer look at Helm and its template files. You’ll want to install Helm first if you’d like to follow along and test Helm templating locally. If you have Homebrew, you can run the command brew install helm in your terminal. Otherwise, follow the Helm Installation tutorial.

    Understanding Helm Charts

    In general, Helm operates in a chart format. A chart is a collection of files in a directory that relate to some set of Kubernetes resources. …

    Read More
  • By Miguel Grinberg
    Building a Chatbot with OpenAI's GPT-3 engine, Twilio SMS and Python Building an SMS Chatbot with OpenAI's GPT-3 engine, Twilio and Python

    A GPT-3 chatbot is a software application that is able to conduct a conversation with a human user through written or spoken language. The level of “intelligence” among chatbots varies greatly. While some chatbots have a fairly basic understanding of language, others employ sophisticated artificial intelligence (AI) and machine learning (ML) algorithms to achieve an almost human conversational level.

    In this tutorial I’m going to show you how easy it is to build a chatbot for Twilio SMS using the OpenAI platform and the Flask framework for Python.

    Want to have an idea of what the capabilities of GPT-3 are? Take a look at the following interaction I had with this bot using the project we are going to build in this tutorial:

    conversion with the openai chatbot

    Introduction to GPT-3

    GPT-3 (Generative Pre-trained Transformer 3) is a highly advanced language model trained on a very large corpus of text. In spite of its internal …

    Read More
  • Newer
    Sign up and start building
    Not ready yet? Talk to an expert.