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 Ricky Robinett
    Supercharge Your Amazon Connect Flows Using AWS Lambda, Node.js and Twilio amazon-connect

    In this post we’re going to show you how to supercharge your Amazon Connect contact flows using AWS Lambda, Node.js and Twilio. We’ll build a contact flow to detect if a customer is calling from a mobile phone and, when they are, send their order details to them via SMS at the completion of the call. Let’s get started.

    Assembling Your Tools

    There are a few things you’ll need to set up before you start writing code:

    • Node.js and npm: We build our Lambda functions with Node.js and install our dependencies using npm
    • An AWS account: For all the AWS goodies we’ll use throughout this post
    • A Twilio account: This account will let us make API requests to lookup phone number details and send SMS messages

    Lookup Phone Number Type Using Amazon Lambda and Twilio Lookup

    We can determine whether our customer is calling from a mobile, …

    Read More
  • By Ricky Robinett
    How to Build Your First Slack Bot in 5 Minutes using PHP PHPSlackbot

    So you want to build a Slack bot using PHP? You’re in the right place. This blog post will walk you through building your first Slack bot using PHP in 5 minutes. The clock is ticking, let’s get started.

    Creating Our Bot

    Before we write any code, we need to configure our Slack bot within our Slack team. Head over to https://[yourslackteam].slack.com/apps/build/custom-integration and then click “Bots”.

    Give your bot a clever name. Or if you’re lacking inspiration feel free to use something simple like ‘php_bot’ and then click “Add Integration”.

    The next page will give you an API token which you’ll want to keep handy. We’ll be making use of it shortly.

    Using RTM with PHP using slack-client

    Our bot will use Slack’s Real Time Messaging (RTM) API. In order to use RTM with PHP we will use Stephen Coakley’s very handy slack-client library. Hop into your terminal and …

    Read More
  • By Ricky Robinett
    SIGNAL London Recap: History Belongs to the Builders signal-london-10

    We’re wrapping up our first SIGNAL Conference in London and we’re well chuffed.

    Today, developers from around the world gathered to hone their craft and get a look at a few of the new tools we’ve been cooking up at Twilio. Whether you joined us in London, or you followed along from a distance, thank you.

    Before we turn off the lights at The Brewery, let’s run through some of the knowledge dropped and announcements made over the past 12 hours at SIGNAL London.

    There were launches, live coded games of Flappybird, cyborgs hacking their hands, and ML scripts that classify objects as huggable or not huggable. Let’s get down to it:

    The Launches

    Read More
  • By Ricky Robinett
    Be the First to Hack on Sync at SIGNAL London 1M_dlddSMfnwv7wLBIJxRUIX3ZhWlW0Wmva666CxlmtGbl5oVhP0Q0p2uCMZg9hkOe-X0TFXPOkcaI7hTlAmiPQtsr_M6YUIiPgNNe-5o05zhGgwMPiko5u_Vr0Rk8vzF_5ObnbP

    Over the summer we announced the developer preview of Sync, a purpose-built API for easily synchronizing state across devices and between users. At SIGNAL London, we’ll be giving access to the Sync API and JavaScript SDK to every developer in attendance. If you’re joining us, you’ll be one of the first developers in the world to hack on it.

    Don’t have your SIGNAL London ticket? Register now using promo code BLOG50 to get £50 off.

    Whether you’re building a multiplayer mobile game or adding real-time presence to your contact center, Sync takes care of all your state management in the cloud so you can focus on building features for your users. It’s already been proven at scale as the real-time engine behind Twilio IP Messaging.

    SIGNAL London is just around the corner, it’s not too late to convince your boss to send you and get excited about …

    Read More
  • By Ricky Robinett
    Expanding Global Reach with Detailed Data: New Transparency Report 2016-07-01-exhibit-1

    Twilio’s “no shenanigans” approach to data privacy extends to all customers and users – wherever you’re located. As Twilio’s international presence continues to expand, we are providing more detail at a country level about the types of law enforcement requests Twilio has received.

    You can learn about these requests in our transparency report for the first half of 2016.

    Twilio Transparency Report – First Half of 2016

    The objective of Twilio’s semi-annual transparency report is to inform you of the total volume of government requests for information received by Twilio, how Twilio responded to the requests and how often Twilio notified users of the requests.

    • You can view our most recent transparency report for the first half of 2016 here.
    • You can download a text file of our transparency report from our GitHub repository here.

    Advocating for Privacy and Security

    There’s a complicated balance between the responsibility …

    Read More
  • By Ricky Robinett
    1 Million Developers: Celebrating Your Milestones 1million

    Today we’re celebrating a new milestone together.  There are now 1 million of your fellow developers building with Twilio. Whether you’ve been here 7 years or 7 minutes, you make up this million. Thank you for being a part of this.

    Your growth as developers is inextricably tied to Twilio’s growth. Watching you build ambitiously leads us to create tools that serve that ambition. You’re out there conquering development’s Koopa Troopas. We aim to offer you a suite of tools you need to make that work easier — a programmatic super mushroom, cape feather, or fire flower.

    Back in 2012, when Twilio hit 100,000 developers on the platform, we invited the community to share their milestones. The funny thing about placing milestones is that you can see how far you’ve travelled since placing the last one. We caught up with a few developers who have come a long way …

    Read More
  • By Ricky Robinett
    Developer Contest: Show Off Your IP Messaging Hacks twilio_ipmessaging_blog

    Let’s celebrate IP Messaging with an old-fashioned Twilio contest. Spend the rest of the month working on your sickest, most mind-blowing hack and then submit it here. If you use IP Messaging, you’re eligible for the grand prize:

    Bonus points for keeping the community updated as you build via tweets, tutorials or Twitch streams.

    Looking for inspiration? Check out these posts to help you get started:

    Twilio IP Messaging JavaScript Quickstart

    Twilio IP Messaging iOS Quickstart

    City Chat with Python and Django

    Designing Chat Apps for iOS Using Swift

    How To Get Involved

    Entries must be submitted by 11:59 PM PDT Monday February 29th. Entries must use Twilio IP Messaging. You can submit your entry here. If you need …

    Read More
  • By Ricky Robinett
    Announcing New Transparency Report & Privacy Notices logo

    We believe in “no shenanigans” when it comes to data privacy. In that spirit, we’d like to draw your attention to two documents: our transparency report for the second half of 2015 and our revised Privacy Notices.

    Twilio Transparency Report – Second Half of 2015

    The objective of our semi-annual transparency report is to inform you of the total volume of government requests for information received by Twilio, how Twilio responded to the requests and how often Twilio notified users of the requests.

    • You can view our most recent transparency report for the second half of 2015 here.
    • You can download a text file of our transparency report from our GitHub repository here.
    • Read our blog post about why we publish a transparency report here.

    Twilio’s Revised Privacy Notices

    On February 1, 2016, we will be updating our Privacy Notices in addition to our Terms of …

    Read More
  • By Ricky Robinett
    Learning Meteor.js: A Simple Chat App Tutorial Meteor

    Meteor.js allows developers to share their JavaScript between the client-side and server-side in a project. Let’s see how by building a simple chat application using Meteor.js and Twilio’s IP Messaging.

    Getting the Band Together

    There are just two prerequisites to our application before we get started:

    With that out of the way we can start hacking.

    The First Star I See May Not Be A Star
    We’ll start by creating a Meteor project called simplechat:

    meteor create simplechat
    

    We can run our app straight out of the box by going into the directory in which it was just created and running the meteor command. Now browse to http://localhost:3000 and check it out:

    Click the button and see Meteor in action. We’ve done it, we built our first Meteor application! I hope you all have enjoyed this blog post… What’s that? What …

    Read More
  • By Ricky Robinett
    Getting Started with Swift on Linux Getting Started With Swift On Linux

    print("Hello, world!")
    

    When I wrote my first line of Swift code I immediately had visions of being able to use this beautiful programming language for more than just iOS and OSX apps. Yesterday, Apple officially made Swift open source and my dreams came true. This blog post will help you quickly get started writing your first application using the open source version of Swift on Linux.

    Here We Go!
    The Linux implementation of Swift currently only runs on Ubuntu 14.04 or Ubuntu 15.10. For our application, I’ll be using Ubuntu 14.04.3. If you don’t have an Ubuntu server sitting around you can always spin one up on your hosting provider of choice (Looking for one? Check out DigitalOcean or Linode). The Swift GitHub page shows you how to build Swift manually but you may want to start writing code without having to wrestle with Linux. Fortunately …

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