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

"sms" posts

  • By Fernando Larranaga
    Build an SMS Panic Button with Twilio Functions Blog post header: Build an SMS Panic Button with Twilio Functions

    Are you part of a nonprofit or social enterprise that wants to build things for social good? At Twilio.org, we offer discounts and credits to help you get started! Learn more.

    In an emergency such as an accident, an insecure situation, or a natural disaster, a successful response time is often measured in seconds. Communicating a call for help quickly is essential. If someone is unable to make a phone call or send a text message, a readily accessible panic button can enable them to make an urgent call for help discreetly and efficiently.

    In this guide, we'll show you how to build an SMS Panic Button in a couple of steps using an IoT button and Twilio Functions.


    How will this work?

    IoT buttons, such as Flic, offer the …

    Read More
  • By Michael Okoko
    Create a Database Queue to Send SMS in PHP with Laravel Queues and Twilio SMS Create a Database Queue to Send SMS in PHP with Laravel Queues and Twilio SMS.png

    Queues are ways in which we enable our application to listen and act based on predefined events. They allow us to delay tasks that would otherwise interfere with the user experience or our application’s performance.  

    From the Laravel docs, "Laravel queues provide a unified API across a variety of different queue backends, such as Beanstalk, Amazon SQS, Redis, or even a relational database."

    What are we Building?

    In this tutorial, we will be creating an application that utilizes Laravel queues to send our users “Happy Birthday” messages on their birthday. We will create a command that fetches all users whose birthdays are today, and sends them to the queue to be processed.


    Setting Up our Application

    As our application is Laravel-based, we will create a new Laravel application. If you're not …

    Read More
  • By Fernando Larranaga
    How to Build an SMS Chatbot Using Twilio Studio and Functions to Engage with Volunteers engage-volunteers-studio-chatbot.png

    SMS Chatbots provide a great way to engage with volunteers and deliver information about different initiatives you want to promote. They’re widely accessible (no Internet needed!) and with tools like Twilio Studio, designing the flow of interactions becomes a delightful experience.

    As part of SIGNAL 2019, one of our main goals at Twilio.org was to increase awareness of some of the organizations and initiatives we have been supporting, while at the same time provide an instance for people interested in volunteering to get more information about different opportunities to get involved.

    To achieve this, we built an app using Studio and linked it to a Short Code that allowed us to have SMS based interactions with the thousands of people in attendance during the 2nd-day keynote at Signal, as well as everyone that was following through the live stream.

    This is the story of what we did, how we …

    Read More
  • By Tilde Thurium
    Fighting Impostor Syndrome With Twilio Internet of Things Fighting-Impostor-Syndrome-Twilio-IoT

    If you’re reading this, you’ve probably grappled with impostor syndrome at one time or another.

    Experience doesn’t always help, either. As our skills grow, we tackle harder problems. Technologists are always working at the edge of our knowledge.

    What can we do to fight impostor syndrome? Studies have shown that self-affirmation can counteract negative ruminations and increase achievement.  So I decided to build an Internet of Things button that delivers an SMS affirmation when pressed.

    Physical responses to negative thoughts

    Why use hardware to fight imposter syndrome?

    This project could totally be a web application. But – taking a physical action in response to negative thoughts helps ground me emotionally.

    Using SMS lets me receive the affirmation without the cognitive load of opening another browser tab. Twilio’s IoT capabilities let me take the button anywhere with cell service. No WiFi configuration required!

    The imposter syndrome button was my first hardware …

    Read More
  • By Michael Jaroya
    Create an Eventbrite App that Notifies You of Local Events with Twilio SMS and Laravel PHP Create an Eventbrite App that Notifies You of Local Events with Twilio SMS and Laravel PHP.png

    Networking is a skill that everyone needs, especially if you are an entrepreneur or plan on being one. A strong professional connection can help take your business to the next level. Those connections can provide solutions to the complex problems you’re facing, expand your customer base, and much more. Even if you’re not an entrepreneur, networking is a proven method to career and economic advancement.

    The easiest way to create this connection is by attending local events in your city and interacting with people physically. I can’t count the number of times I have googled the keywords “events near me” only to see a lot of irrelevant results, not to mention the noise of ads. The events that are relevant are either in a faraway city or in another country altogether.

    In this tutorial, we are going to implement a simple app that sends daily SMS notifications of events happening …

    Read More
  • By Matan Gal
    Customize opt-in and opt-out flows with Advanced Opt-Out Advanced Opt-Out

    At SIGNAL, the Twilio Customer and Developer conference, we shared a new milestone: at peak volume, more than 13,000 SMS are sent every second over the Twilio platform. 

    Whether you’re sending one message or a million messages, there are important regulatory considerations to consider. In the U.S., that includes the Telephone Consumer Privacy Act (TCPA) and the newly updated guidelines from the CTIA (the wireless industry trade association). Compliance becomes even more complex when you consider the global regulations that impact the messages our six million developers send every day. 

    Which laws and regulations apply will depend on the particulars of your text messaging campaign. This includes where the texts originate, where recipients of your texts are located, where your company is located, the industry you are in, and the content of your text messages. We always recommend consulting with a lawyer to ensure that you’re in compliance with …

    Read More
  • By Paul Kamp
    The Developer's Guide to Phone Number Regulatory Compliance qMvMl-7km51ZMwhLfA9kzW7AuNTyFppuGJKF6KKCyEO9dww1zxhJx63sQtynlA-KcCmabxeF6CUXASv_llpD4QXQbcOQGAJ7XqhI_yzpb7HXAtbHgIXN1yGLCUkh7GdYQ7qocnay

    Regulatory compliance (RC) requirements for phone number users have increased worldwide. Depending on the phone number and its features, your or your company's status in the country, and your intentions for the number, different laws and regulations apply while building Voice, Fax, or SMS-based applications.

    While some of these regulations are new, many of these laws and rules have been in effect for some time. Countries are increasing enforcement for many reasons – including fraud, incidents of misuse and abuse and heightened national security concerns.

    All your Twilio phone numbers on Twilio’s platform need to comply with individual country requirements or they are at risk of being suspended until you submit proper RC information.

    Read on for what you need to know to bring an existing communications application into compliance or before starting a new application.

    Here's a video overview explaining what's happening:

    You can find the regulatory …

    Read More
  • By Sam Agnew
    Playing Pokemon via SMS with Node.js and Twilio Copy of Generic Blog Header 3(2).png

    Pokemon filled many childhoods with joy. For some of us as adults, Node.js 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, Node.js and Lua scripting for the Visual Boy Advance emulator.

    Getting Equipped

    Before moving on, you'll need to set up your environment. First make sure you have Node.js and npm installed.

    If you're not on Windows, install wine to be able to run the emulator we need, as only the Windows version has Lua scripting functionality.

    If you’re on a Mac, you can install Wine using Homebrew with the following command:

    brew install wine

    You might have issues getting the emulator to run by default, so make sure you have a 32-bit prefix set by running the following commands in your …

    Read More
  • By Michael Jaroya
    Send Inspirational Quotes Every Morning in PHP Using Cron, SendGrid, Twilio SMS and Quote APIs Create A Daily Inspirational App in PHP.png

    Ever had one of those mornings when you woke up unmotivated, but read a quote and the energy returned? That is the power of positive and motivational quotes.

    Motivational quotes have a way of making people feel inspired and energized. This phenomenon can be attributed to a combination of factors such as motivational psychology, wordsmithing, and self-selection.

    In this tutorial, I am going to teach you how to create an app that automatically sends you motivational quotes every morning. Before we start, here is a motivational quote to uplift you as you follow along.

    Believe in yourself! Have faith in your abilities! Without humble but reasonable confidence in your own powers, you cannot be successful or happy. – Norman Vincent Peale

    Getting Started

    To complete this tutorial, you will need the following:

    Create a New …

    Read More
  • By Marcus Battle
    Create Your Own Phone Backup Service using PHP, Twilio SMS, DigitalOcean Spaces, and Laravel Create a Phone Backup Service using Twilio SMS.png

    Have you ever had a voicemail from a loved one that you wanted to keep forever? Maybe a contact that you wanted to save but didn’t want to add to your phone? Whatever the use case, it’s almost impossible to backup some types of media, like voicemail and contacts, without an app.

    We're going to learn how to create a phone backup service that allows us to manually transfer data via SMS to cloud storage, just by using our phone number.

    We will accomplish this by creating a RESTful API in Laravel, connecting it to Twilio SMS, and adding cloud storage via Digital Ocean Spaces.

    In order to complete this tutorial you will need the following:

    At the time of writing, DigitalOcean does not provide an official PHP API for connecting to its object storage. So we …

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