Using Twilio’s Messaging Service & Copilot Features
In 2010, Twilio customers started sending their first SMS message. Today, these same customers are sending many thousands of messages per day. But jumping from sending one message to 100,000 is not easy. It requires understanding how many phone numbers you need to use to deliver these messages, what types of numbers to use for best results and programming logic that will handle number allocation and other use-case specific features to ensure performance.
That’s a lot of code…. Or is it?
What is a Messaging Service? What is Copilot?
Twilio’s Messaging Service handles everything mentioned above, without you needing to write any programming logic. Copilot are the features you take advantage of in your messaging service. So to break it down -
A Messaging Service is a messaging application, usually specific to a use-case or campaign that is powered by a group of phone numbers that you select ...
Programmable SMS - API Basics and Best Practices
Messaging can be complicated. The SMS ecosystem is comprised of mobile network operators (MNOs) and other application-to-person (A2P) network providers that sometimes route your message to its intended recipient, often over many hops. Delivery is not guaranteed, these players are known to have aggressive firewalls, spam algorithms and are protective of the traffic they send through their networks. On top of that, the backbone of SMS relies on old SS7 telephony signaling protocols for message transportation, developed back in 1975.
…. Sounds daunting already.
It’s not. Twilio’s Messaging API and underlying Super Network make it simple. Considering SMS is still the most ubiquitous, widely used messaging application in the world, it pays to get this right.
Sending Messages (one-way SMS)
SMS Code Of Conduct Reporting with Twilio Studio and Slack
If you care about ensuring the safety and comfort of your community, you must have a code of conduct. Writing a code of conduct document is a necessary first step, but it’s not enough. What happens when a violation occurs? You need processes for reporting and responding to code of conduct incidents. Ideally, there are multiple reporting channels so that people can communicate over text or in person. Some folks might not feel comfortable (or be able) to report code of conduct violations face to face.
There are many possibilities for technology to enable text based code of conduct reporting. Laying out requirements will help us narrow down our choices.
- Accessible. Reporting technology should be accessible to as many event attendees as possible. Accessibility here means having access to devices that run the technology, as well as usability for folks with disabilities.
- Secure. Code of conduct reports ...
The Developer's Guide to Phone Number Regulatory Compliance
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.
(A future post will cover what you can and cannot do with numbers per country.)
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 by July 30, 2019 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 ...
Introducing Developer Evangelist Nathaniel Okenwa
As a child, my favourite TV show was the Power Rangers, my favourite being the Black Ranger from the Mighty Morphin series. My proudest possessions were the Power Rangers' bed sheets and curtains in my room. I loved the poses, flips, flying kicks and overall badassery on the show, and as soon as I got the chance I signed up to a kickboxing class. Let me tell you how I got from my first kickboxing class to working in Developer Evangelism.
On my first day of kickboxing training, some of the more experienced kickboxers led the session. I felt so intimidated by the black belts doing advanced techniques while I could barely throw a jab. However, they created a warm friendly environment where my confidence grew and my skills soon followed.
Fast forward to a few years later and I was competing in a National Championship match representing ...
Twilio Helps Launch Enterprise Cloud Coalition
Today, Twilio helped launch the Enterprise Cloud Coalition (ECC) as a founding member. The ECC is made up of cloud-based companies whose focus is on serving enterprise customers, and includes Twilio, Box, Dropbox, Okta, Slack, Workday, and Zendesk.
The organization was formally introduced at an event held at the Rayburn House Office Building in Washington, D.C., where public policy makers, staff, and the media were present. We held a panel discussion at the event moderated by Ashley Gold of The Information media outlet that included myself, Becky Tallent of Dropbox, and Chandler Morse of Workday.
One common trait among the coalition members is that we use cloud computing as a means to process data on behalf of other companies; more important, our business models do not monetize user data for advertising, relying instead on transactional revenue from the companies that use our services.
As we looked at the evolving ...
Send Domain Renewal and Expiry Notifications using Namecheap API, Twilio SMS and PHP
According to Domain Name Industry Brief a report by VeriSign,a global leader in domain names and Internet security, there were approximately 342.4 million domain name registrations across all top-level domains (TLDs) by the third quarter of 2018, an increase of approximately 2.6 million compared to the second quarter of 2018. This means approximately 28000 domain names were registered per day, and recent projections show the numbers are expected to rise even further in 2019. The stakeholders in this sector, therefore, have to implement a number of systems to manage and automate the huge number of tasks and business processes involved. Domain name sellers, resellers, domain name managers and even individual users need to get domain name related notifications in a timely and reliable manner to efficiently manage their domains.
In this tutorial, we are going to discuss how to send domain name renewal and expiry notifications in ...
Getting Started with the Java Streams API
The Streams API was added in 2014 with the release of Java 8 so you’ve almost certainly got it available today. It is used to pass a series of objects through a chain of operations, so we can program in a more functional style than plain iteration allows. Still, when working with collections many developers still reach for the classic
In this post, I’ll introduce the terms used when talking about Streams, show some examples of each term and how they can be used together to create compact and descriptive code. Then I’ll show a real-world example of Streams code I wrote recently to pick winners in a raffle.
What’s a Stream?
A Stream is a (possibly never-ending) series of Objects. A Stream starts from a Source. The objects in a Stream flow through Intermediate Operations, each of which results in another stream, and ...
Detect Cellphones and Verify Phone Numbers in Laravel PHP using Authy
There may be times in building your app that you will need to send an SMS to the phone number of a user. Wouldn't it be awesome if you could confirm that the number supplied is actually a cellphone? Or maybe you want to only send SMS to verified users. With Twilio's Authy API, these use cases are easy to implement. This tutorial is aimed at helping developers to build a phone number validator to verify users phone numbers in any PHP application and check if a number is a cellphone or landline before sending an SMS.
For this tutorial, it is expected that you have basic knowledge of the following:
NOTE: Don’t forget to craft a Laravel project for this purpose. Here’s a link to a guide on the installation process for ...
Create a WhatsApp Chatbot that Books Appointments in Google Calendar Using Autopilot and PHP
It’s amazing how in recent years, Natural Language Processing (NLP) has transformed how we build conversational interfaces. Notably, more businesses are building chatbots that interact with their customers in real time. In my previous tutorial, I wrote about building a chatbot using Dialogflow. In this tutorial, we’re going to build a chatbot using Twilio Autopilot and Whatsapp. Our chatbot will allow users to book an appointment and have a Google calendar event created.
This tutorial requires basic knowledge of Autopilot. If you need to read up, please do so from this guide.
- PHP 7 development environment
- Global installation of Composer
- Global installation of ngrok
- Twilio Account
- Google Account
- WhatsApp Account
Create a Google Project