February 2021 Summaries
50 posts from Twilio
Filter
Month:
Year:
Post Summaries
Back to Blog
This tutorial provides a comprehensive guide to building a RESTful API in PHP using Laravel Sanctum. It covers the installation and setup of Laravel Sanctum, creating an API with endpoints for user registration, login, and fetching the currently authenticated user. The tutorial emphasizes the benefits of using Laravel Sanctum over Laravel Passport, highlighting its simplicity, lightweight nature, and compatibility with Single Page Applications and mobile applications. The author also provides instructions on testing the API using Insomnia and offers additional resources for further learning. Throughout the tutorial, the author maintains a neutral tone, providing clear explanations and concise code snippets to facilitate understanding of the concepts and implementation details.
Feb 26, 2021
1,209 words in the original blog post.
A/B testing is a powerful strategy for enhancing user engagement and achieving business objectives by allowing companies to test and optimize different aspects of their product and user experience. Effective A/B testing requires a comprehensive understanding of customer expectations, which is achieved through customer data and team insights. Key practices include identifying specific test elements, linking experiments to relevant KPIs, ensuring data integrity, targeting the right audience, creating distinct test variants, scheduling tests appropriately, and understanding statistical significance. Sharing results with the team and implementing changes through phased rollouts are essential for maximizing the benefits of A/B testing. Tools like the Taplytics and Twilio Segment integration streamline the testing process by syncing data and providing automated statistical analysis, allowing teams to efficiently design, analyze, and refine experiments. These best practices support the development of impactful experiments that enhance the customer experience while aligning with business goals.
Feb 26, 2021
2,200 words in the original blog post.
A tutorial is provided on how to add SMS notifications to vaccine workflows using Microsoft's Power Automate and Office365, making it easier for governments and hospital systems to set up their own SMS notification workflow quickly. The prerequisites include having a Twilio account with an SMS capable number, an Office 365 account with Power Automate enabled, an Office 365 Excel table that holds data, and a Power Automate flow to message residents every day. The tutorial guides through setting up the Twilio account, creating an Excel file, dispatching notifications with Power Automate, collecting status updates from Twilio, and testing out the flow.
Feb 25, 2021
1,657 words in the original blog post.
To send an SMS from a Svelte app, it's necessary to create a backend API using Twilio Functions, which provides a serverless environment for deploying backend services without exposing Twilio credentials. A new Function Service is created with a path name /sms, where a shell function code is written to handle the request. The function sends an SMS using the Twilio Node.js REST Client and returns a response with a success message or an error. After creating the API, a Svelte app is scaffolded with a button that makes a POST request to the API when clicked, sending a message and updating the UI with a success status.
Feb 24, 2021
1,496 words in the original blog post.
Twilio subaccounts allow you to separate resources, numbers, and settings while sharing a balance with the main account, making it easier to segment usage and manage multiple accounts within a project. Subaccounts provide key benefits such as segmented billing, resource provisioning, and additional control over multiple accounts from the same project. However, before migrating to subaccounts, customers using Twilio's message services must consider the opt-out management issue that affects customer opt-outs when moving phone numbers between accounts. To use subaccounts effectively, developers can create a new subaccount, transfer a phone number to it, set up a messaging service with the phone number, and then send a message through the messaging service using the Messaging Service SID in the request.
Feb 24, 2021
1,745 words in the original blog post.
This article explores five ways to make HTTP requests in Ruby, using various libraries such as net/HTTP, httparty, HTTPX, Faraday, and others. The author provides examples for both GET and POST requests, demonstrating how to use each library's methods to send HTTP requests with parameters. The libraries differ in their approach and features, but all provide a way to make HTTP requests in Ruby-based applications. The article is geared towards developers who want to learn about these libraries and how they can be used in their own projects.
Feb 24, 2021
2,171 words in the original blog post.
Here's a neutral and interesting summary of the provided text in one paragraph:
Python developers can utilize environment variables to configure their applications, eliminating the need for source code changes when configurations shift. The `os.environ` dictionary provides access to all environment variables, allowing Python programs to retrieve and use them as needed. Various methods exist for accessing environment variables, including using the `os.environ.get()` method, which returns a default value if the variable is not defined, or the `os.getenv()` function, which also does so without raising an error. Environment variables can be set in terminal sessions using the `export` keyword or by executing a script with the variable set. A more convenient approach is to store environment variables in a `.env` file, which can be imported into Python applications using the `python-dotenv` package, providing a uniform and organized way to manage configuration across platforms.
Feb 24, 2021
1,324 words in the original blog post.
Detect Hair Color with AutoML, MMS, and JavaScript` is a project that uses Google Cloud's AutoML Vision API to detect hair color from images. The app was built for a Twitch streamer, Anna Lytical, who is an engineer at Google working on the developer experience for Google Cloud Platform. To build this app, developers need a Google Cloud account, a Twilio account with SMS capabilities, and prepare image data to train the model on. The project uses Instagram's open-source scraper to collect images of different hair colors, which are then used to train the AutoML model. Once trained, the model is deployed as a Cloud Function that can be invoked via Twilio MMS. The app responds with a message indicating the detected hair color. This project showcases how AutoML simplifies building and deploying machine learning models, and demonstrates its potential for various applications beyond just detecting hair color.
Feb 24, 2021
1,329 words in the original blog post.
To send bulk SMS in PHP using Twilio Notify, you need to set up a new project folder, install the required dependencies with Composer, and create a PHP script that uses the Twilio Rest Client to authenticate and send messages. You also need to create a Messaging Service, a Notify Service, and configure the Notify Service to use the Messaging Service. The script initializes a new Twilio Rest Client, defines an array of subscribers, and creates a notification using the Notify API request. The execution time for sending bulk SMS is significantly faster than with the standard Programmable Messaging API, making it suitable for large-scale applications.
Feb 24, 2021
1,518 words in the original blog post.
Svelte and React are two popular JavaScript frameworks for building web applications. Svelte is a newer framework that compiles your code to vanilla JavaScript at build time, whereas React interprets your code at run time. Both frameworks use component-based development, but they differ in their approach to state management and DOM updates. In Svelte, state is created by assigning variables, while in React, you need to use the `useState` hook to manage state. Svelte's templating language allows for dynamic styling, whereas React uses inline styles or CSS classes to achieve similar results. Overall, both frameworks have their strengths and weaknesses, and the choice between them depends on your specific needs and preferences.
Feb 23, 2021
2,878 words in the original blog post.
To avoid the end-of-life status of Node.js v10, developers using Twilio Functions must update their projects to use Node.js 12. This involves specifying the correct runtime flag when deploying the project, testing it locally with Node.js 12, and verifying its functionality in the production environment. After April 30, the --runtime=node10 flag will no longer be valid, and future deployments should use Node.js 12 explicitly unless necessary.
Feb 23, 2021
1,132 words in the original blog post.
This tutorial guides developers through setting up a token-based authentication system using Laravel, JWT, and the Twilio API for WhatsApp 2FA authentication. The project involves creating a simple Laravel application with user registration and login functionality, implementing two-factor authentication (2FA) verification using the Twilio API's WhatsApp Business API, and testing the application using Postman. Throughout the tutorial, readers learn how to set up their own development environment, install required packages, configure database credentials, create controllers and models, implement routes for endpoints, test the application, and verify the OTP code sent via WhatsApp. The project demonstrates a comprehensive approach to implementing secure authentication in web applications.
Feb 23, 2021
2,188 words in the original blog post.
The COVID-19 vaccine production is ramping up globally, but distribution challenges remain. To address this, the City of San Francisco launched a digital vaccine standby list for its residents, utilizing SMS messaging powered by Twilio, which enables residents to get notified on their preferred channel as soon as they are eligible to schedule their first vaccine appointment. This app allows health agencies to directly engage with their residents and prioritize them based on demographic information and state guidelines. A new Quick Deploy App has been made available for public health agencies to create a proof-of-concept of a COVID-19 vaccine standby list program, which can be deployed with zero coding required. The app uses SMS as a valuable channel for registering and notifying residents about vaccine eligibility, helping to cross the digital divide and make vaccinations accessible to more people.
Feb 23, 2021
986 words in the original blog post.
To send an SMS using TypeScript and Twilio, one needs to set up a new project with TypeScript installed, install the required dependencies, including the Twilio Node module, create a `tsconfig.json` file, write a script to compile the TypeScript to JavaScript, set environment variables for the account SID, auth token, phone numbers and message body, then use these values to initialize a Twilio API client and send an SMS. This requires understanding of TypeScript type system, tooling, and how to handle errors and conditional statements in the code.
Feb 23, 2021
1,306 words in the original blog post.
The tutorial by Matthew Setter demonstrates how to enhance a PHP application using the Mezzio framework to respond to SMS messages with Twilio's API. Building on a previous guide that covered sending SMS, this tutorial focuses on creating a webhook that listens for incoming SMS requests from Twilio and sends an automated reply using TwiML, Twilio's XML-based markup language. It involves setting up a new HTTP POST endpoint, updating the TwilioService to generate SMS responses, and configuring a new request handler class named SMSReplyHandler to process incoming requests. The process includes updating the routing configuration and testing the functionality using ngrok to expose the local server to Twilio's webhook. The guide also provides debugging tips via Twilio's console to resolve any issues that may arise. Overall, the tutorial is a concise exploration of integrating Twilio's SMS capabilities with PHP's Mezzio framework, offering insights into both technologies.
Feb 22, 2021
1,839 words in the original blog post.
This month, Twilio is celebrating U.S. Black History Month and the UN's World Day of Social Justice by highlighting ways its members can support racial equity. The company encourages acts of kindness, education, and financial donations to organizations like Blessings in a Backpack, which provides food to elementary school children who might otherwise go hungry. Twilio also shares its commitment to diversity and inclusivity and features the work of 9 Black inventors who have contributed to its technology. By signing up for the WePledge 1% program, individuals can commit to doing good and making a positive impact on social justice issues.
Feb 22, 2021
568 words in the original blog post.
IVR (Interactive Voice Response) technology has revolutionized the way contact centers handle customer calls by providing a streamlined and personalized experience. IVR systems use AI, automated menus, and speech recognition to route calls based on spoken word responses and touch-tone input, eliminating traditional switchboard operators and long wait times. By utilizing IVR, businesses can save money, improve productivity, and provide callers with quick access to the resources they need. IVR systems are cost-effective, scalable, and easy to manage, making them an attractive solution for contact centers of all sizes. With features such as analytics and customizable workflows, modern IVR systems can meet customers' real needs and provide a seamless experience.
Feb 19, 2021
998 words in the original blog post.
To celebrate Lunar New Year, Twilio Evangelist Lizzie Siegle hosted a stream where she and Diane Phan built an app to deliver fortunes based on users' zodiac animals. They used Twilio Functions to create a bot that sends text messages with predictions for the new year. The project uses if/else statements to match each user's input (a zodiac animal) with a unique fortune. Once deployed, users can send their zodiac animal as an SMS to receive their predicted fortune for 2022. This project is reusable and can be used every Lunar New Year, making it a fun tradition. With Twilio Functions, users can build and deploy creative projects quickly by writing a bit of TwiML and JavaScript.
Feb 19, 2021
1,425 words in the original blog post.
To build a website that allows users to upload files and provide their own input while protecting user identity, this tutorial uses Flask and Twilio Verify. A free or paid Twilio account is required for sending verification tokens via SMS to users' phones after they enter their email on the website homepage. The user must then enter the verification code received from their phone to access the site's upload feature. The project incorporates security measures such as two-factor authentication, password handling, and file type validation to prevent malicious activity. Once authenticated, users can submit an image file in .jpg or .png format, which is stored in the project directory's "UPLOADS" folder. The tutorial covers setting up a development server, creating a database of eligible users, planning the logic of the project, building the user login page, generating verification codes with Twilio Verify, verifying user input, and displaying a success message.
Feb 18, 2021
3,154 words in the original blog post.
The article provides a comprehensive guide for frontend developers building Twilio apps using React, covering the different Twilio JavaScript SDKs available, including Programmable Voice, Conversations API, Programmable Video, and Twilio Sync. It also discusses generating access tokens, installing the necessary SDKs, and providing examples of how to use them in React apps. The guide aims to help developers build browser-based applications for video calling, voice calling, chat, and more, while also covering topics such as server-side authentication and caching.
Feb 18, 2021
815 words in the original blog post.
To collect user feedback via text message, businesses can leverage SMS surveys, a cost-effective method of gathering data quickly and efficiently. According to the Twilio Customer Experience team, SMS surveys are best used for timely and recent events, as they offer an immediate communications channel with a high open rate. Before building an SMS survey, it's essential to determine your goals, research existing data, and consider factors such as sample size, timing, and permissions. Keep messages concise, make questions quantifiable, and provide an option to opt-out. Businesses can use SMS surveys for various purposes, including collecting feedback on events and workshops, customer engagement, voting, and health-related topics like COVID-19 contact tracing. To build an SMS survey, start with a template in Twilio Studio, customize questions, and test the flow before sending it to your audience.
Feb 18, 2021
1,117 words in the original blog post.
Event Streams is an API that allows for centralized streams of event data directly into infrastructure, making it easily accessible and interpretable for informed decision-making. This beta feature now supports data delivery to a webhook sink type, enabling customers to access powerful features without requiring specific streaming infrastructure. The new sink type is designed to accommodate customers who are not using any streaming solutions or need integrations with non-AWS-based platforms. With Event Streams, users can create one or multiple subscriptions and stream data to one or multiple sinks, utilizing various API resources such as event types, sinks, subscriptions, schemas, and Webhook Sink instances. The feature is available in Private Beta to Twilio customers today, with ongoing exploration of additional sink types and expansion of Twilio product data availability through Event Streams.
Feb 18, 2021
531 words in the original blog post.
php
The key points of the text are that it is part 3 of a series about Test Driven Development with Symfony and Codeception. The series covers the red-green-refactor cycle, unit testing, mocking dependencies, and code coverage reporting. In this part, the final feature of the application's P2P payment system is implemented using TDD. The text also discusses how to refactor the TransferController to use a service layer for transfer functionality, secure the transaction history endpoint by adding authentication checks, and generate code coverage reports using PCOV. The series concludes with recommendations for further learning on Test-Driven Development and encouraging readers to review the final codebase on GitHub.
Feb 18, 2021
2,258 words in the original blog post.
The text outlines a tutorial on using Twilio Segment and Twilio Programmable Messaging to send personalized SMS campaigns, emphasizing the importance of personalization in improving engagement rates. It explains how Twilio Segment helps collect and organize customer data, like website activity, to create detailed user profiles. By integrating this data with Twilio's APIs, businesses can send tailored SMS messages based on user behavior, such as completing an order, enhancing the effectiveness of marketing efforts. The tutorial provides a step-by-step guide, including setting up event tracking on an e-commerce website, using Twilio Segment Functions to streamline the process, and deploying personalized messages through Twilio's platform. This approach not only boosts open rates and engagement but also enhances the overall customer experience by delivering relevant and timely communications.
Feb 18, 2021
1,148 words in the original blog post.
Zsh is a widely-used UNIX-based shell that extends the functionality of the Bourne Shell (sh), offering newer features and more support for plugins and themes. It became the default login and interactive shell in Mac machines starting with MacOS Catalina in 2019, and can be installed using Homebrew. Zsh offers various tips and tricks to optimize development, such as the take command to create new directories and change into them, automatic cd, mass rename files, calculator functionality, and plug-ins like oh-my-zsh that provide features like auto-complete, sudo, and web-search. Additionally, zsh provides shortcuts like key combo controls and allows editing of commands after typing, making it a powerful tool for developers.
Feb 17, 2021
721 words in the original blog post.
Snyk-Watcher is a GitHub App that automates the process of keeping Snyk, a cloud native application security platform, up to date with projects in a developer's SCM. It listens to webhooks on the main branch for repository changes and pull requests, and triggers automated actions in Snyk when necessary. This eliminates human error and ensures that vulnerabilities are caught at scale. The tool is open sourced and can be easily integrated into an organization's workflow, making it easier for developers to keep their code secure.
Feb 16, 2021
365 words in the original blog post.
The US business text messaging landscape is shifting due to new carrier requirements around A2P 10DLC messaging, aimed at protecting consumers and promoting engaging experiences. The changes require businesses sending or receiving SMS over local long codes to register with carriers, introducing transparency and trust around messages sent across networks. Dedicated routes for A2P traffic will improve reliability and throughput, while eliminating spam and unwanted messages. Registration requirements for 10DLC numbers will share information about businesses, determining their trust score and message fees. Twilio is partnering with businesses to navigate these changes, enabling registration through its Trust Hub console, streamlining the process and providing up-to-date resources and support.
Feb 16, 2021
929 words in the original blog post.
To add email notifications to your Node.js SMS app using Twilio and SendGrid, you'll need to install the required dependencies, set up your accounts with Twilio and SendGrid, and then integrate the SendGrid library into your application. You can use the same codebase for both sending emails and SMS messages, and customize the notification content and delivery method according to your requirements. By following these steps, you can enhance the user experience of your app by providing personalized and timely notifications that cater to individual preferences.
Feb 16, 2021
2,449 words in the original blog post.
Vim users often look for ways to improve their editing experience, and one editor's .vimrc file can be a treasure trove of useful tips and tricks. This article shares five examples from the author's .vimrc file that have been helpful in various situations. The first trick enables crosshair style cursor highlighting, which can make navigating files more intuitive. Another trick allows users to copy text to their system clipboard on OSX by using macros in the .vimrc file. A third trick configures whitespace settings based on file type, allowing developers to customize their coding experience. Remapping the colon key to semicolon provides a convenient shortcut for entering commands, while search settings and highlighting can improve the usability of searching for phrases or keywords. Overall, these tricks showcase the flexibility and customizability of Vim, making it an ideal text editor for power users.
Feb 13, 2021
1,431 words in the original blog post.
A developer can build an automated vaccine appointment system with Twilio Studio and Serverless, enabling patients to confirm, cancel, or reschedule appointments via SMS. The system integrates with Airtable as a mock Electronic Health Record (EHR) database, allowing for seamless data exchange between the two platforms. The prototype includes functionalities such as sending appointment reminders, handling patient responses, updating appointment status, and checking for patients on the waitlist. Once deployed, the system can be tested using POST requests, and its performance can be monitored through live logs and debugging tools. The system is designed to be scalable and adaptable to specific healthcare provider needs, making it an effective solution for streamlining vaccine administration processes.
Feb 13, 2021
3,244 words in the original blog post.
By Sudheer Chekka, a Solutions Architect at Twilio, this post outlines the process of building an IoT medication tracker using Electric Imp, Twilio Flex, and Airtable to address the issue of non-adherence to prescribed medications. The project aims to make it easy for patients and healthcare providers to track medication schedules and automate prescription refills, potentially reducing deaths caused by non-adherence. The solution involves setting up a prototype with a website where patients can enter their prescription regimen, sending reminders to patients via SMS or other means, and tracking patient compliance through an Airtable database. The system also alerts healthcare professionals if a patient falls behind on their medication schedule. With this IoT tracker, patients can receive personalized reminders and healthcare providers can monitor patient adherence in real-time, improving overall patient outcomes.
Feb 12, 2021
1,687 words in the original blog post.
You can build a service that forwards Twilio Error Events to a Slack channel using Python and Flask. To do this, you'll need to configure the Twilio Debugging Events Webhook, create a Slack App, format Slack messages with rich layouts, and install required Python dependencies such as Flask, Slack SDK, python-dotenv, and pyngrok. You can then define a function that takes the error parameters from the request body and formats them into a proper Slack API layout. The function will send the formatted message to the specified Slack channel using the WebhookClient from the Slack SDK. To test the application, you'll need to run it locally with Ngrok, which creates a secure tunnel to the Flask application, allowing you to access it from across the Internet. You can then trigger an error by setting up an invalid phone number Webhook URL and make a call to your Twilio Phone Number, which will send a new Slack message detailing the error details. Finally, you can deploy your Flask App to production using services like PythonAnywhere or Heroku.
Feb 12, 2021
1,808 words in the original blog post.
Building an AI-powered WhatsApp chatbot to learn German using GPT-3, Twilio, and Node.js involves several steps. First, one needs to set up a Twilio account, obtain an OpenAI API key for the GPT-3 model, and create a Node.js application with the necessary dependencies. The chatbot is built by creating a webhook in the Twilio console that receives incoming messages and passes them on to the complete function, which communicates with the GPT-3 engine. The complete function generates responses using the GPT-3 model, and these responses are sent back to the user through TwiML. The chatbot can be tested by sending messages from a phone or computer, and it allows for endless possibilities such as generating dragon ball fan fiction or controlling a spooky ghost writer for Halloween.
Feb 11, 2021
1,672 words in the original blog post.
The tutorial discusses creating a Continuous Deployment (CD) environment for an AWS Lambda function using Bitbucket Pipelines and AWS SAM. It assumes familiarity with Git, Node.js, and AWS. The CD process involves setting up an IAM user, creating a Bitbucket repository, writing a SAM template to deploy the Lambda function, and configuring a Bitbucket pipeline to automate the deployment of code changes to the Lambda function. The tutorial also covers testing the deployed function using API Gateway and provides suggestions for extending the application further, including improving security and debugging capabilities.
Feb 11, 2021
2,790 words in the original blog post.
The Twilio Voice IVR Bridge is a signalling bridge that allows for context to be passed between two voice platforms across the PSTN network. This is achieved by using Twilio Programmable Voice, Twilio Functions, Twilio Sync, and TaskRouter. The bridge is designed to maintain customer call context across a PSTN transfer, ensuring a poor customer experience is avoided. The solution involves creating a bespoke Web Service inside of Twilio Functions that stores the caller's details in a Key Value Store using Twilio Sync. The host platform then calls this Web Service to pass contextual data, which is stored against an available transfer number. When a call is received on this number, the system retrieves the stored data and forwards the call on in context to the application or IVR awaiting this information. This allows for contextual call transfers across the PSTN network where SIP is not available, improving customer experience. The solution also includes error handling, scaling, and cleaning up of transferred numbers to prevent issues with the host platform.
Feb 09, 2021
2,984 words in the original blog post.
With the help of Twilio and the command line, you can deliver a romantic Valentine's Day poem over the phone to your loved ones using TwiML and the Twilio CLI. To start, you need a free or paid Twilio account, the Twilio CLI, and set up your environment by logging in to your account and installing the CLI on your machine. You then create a Twilio Bin to store the script for the voice recording that will be played when you call the number. The TwiML Bin uses a text-to-speech engine called Alice to deliver the poem, which can be changed to a man's or woman's voice by specifying the dialect in the XML code. You can also send a text message along with the phone call using the Twilio CLI. With this project, you can impress your loved ones with a surprise they surely weren't expecting and explore more creative projects with Twilio.
Feb 09, 2021
1,504 words in the original blog post.
Twilio Programmable Video is a suite of tools for building real-time video apps that scale as you grow, from free 1:1 chats with WebRTC to larger group rooms with many participants. TypeScript is an extension of pure JavaScript - a “superset” if you will - and adds static typing to the language. It enforces type safety, makes code easier to reason about, and permits the implementation of classic patterns in a more “traditional” manner. Parcel is a blazing-fast web configuration bundler that supports hot-module replacement and which bundles and transforms your assets. The article provides a step-by-step guide on how to use Twilio Programmable Video Authentication and Identity using TypeScript to build a video chatting application with identity and user management controls. It covers the requirements, project configuration, configuring TypeScript, adding environment variables, building the token server, updating the client, and running the application.
Feb 09, 2021
2,833 words in the original blog post.
$summary
A real-time Kanban board is built using Python, JavaScript, and Twilio Sync, leveraging the convenience of a straightforward abstraction using websockets to persist data in a handful of data structures. The application generates access tokens that enable the front end to access the Twilio Sync service from the browser, allowing for multi-client synchronization without deploying microservices or databases. The Kanban board features drag-and-drop functionality, real-time data synchronization across all clients, and can be extended with additional features such as undo/redo, card editing, and a nicer user interface using libraries like Tailwind UI.
Feb 08, 2021
4,071 words in the original blog post.
A user named Stuart Logan created a Lord of the Rings-themed scavenger hunt using Twilio Studio and WhatsApp. The scavenger hunt was built for his wife's birthday, but it can also be used as a lockdown activity. To build the scavenger hunt, users need to sign up for a Twilio account, set up a WhatsApp sandbox, and create a flow in Twilio Studio. The flow includes clues with quotes from the Lord of the Rings stories, which lead to hidden locations and presents. Users can customize the flow by adding their own quotes, functions, and widgets. Once the flow is set up, users can use the WhatsApp sandbox to connect to it and play the scavenger hunt. The author provides a JSON file and instructions on how to import it into Twilio Studio, as well as a tutorial on how to add the function to the flow.
Feb 08, 2021
1,176 words in the original blog post.
Twilio has partnered with Google and Apple to power Exposure Notifications, an open-source API framework for contact tracing. This system uses Bluetooth to anonymously track human proximity and notify people if they are exposed to COVID-19. The partnership aims to provide rapid notifications on the user's preferred channel, improving the efficiency of contact tracers in slowing the spread of the virus. By leveraging Twilio's Programmable Messaging API, public health authorities can text users deep links for the Exposure Notifications app with a unique code embedded, enabling them to easily take action and reducing the burden on call center agents. This scalable solution ensures that more people receive timely alerts and can take necessary precautions to prevent further exposure.
Feb 08, 2021
1,024 words in the original blog post.
The Raspberry Pi Pico microcontroller is a small, low-cost device that can be programmed using MicroPython, a slimmed-down version of the popular Python programming language. The Pico can be used to create a wide range of projects, from simple LED blinkers to more complex IoT devices. To get started with programming the Pico, users need a computer with a USB port, a USB cable, and the Raspberry Pi Pico microcontroller. They also need to install MicroPython on the Pico board, which can be done by downloading the latest stable build from the MicroPython website and following the instructions provided. Once installed, users can access the MicroPython REPL (Read-Eval-Print Loop) using a terminal program or a tool like rshell, which allows them to enter Python statements and have them evaluated interactively. The Pico also has built-in support for GPIO pins, which can be used to connect external devices, such as LEDs and sensors. Users can write Python code to control the GPIO pins and create custom projects. Additionally, users can copy files between their computer and the Pico board's file system using commands like cp. With these tools and techniques, users can unlock the full potential of the Raspberry Pi Pico microcontroller and build a wide range of innovative projects.
Feb 06, 2021
2,693 words in the original blog post.
The Laravel application implements a re-authentication flow using Authy to secure sensitive routes and actions. The process involves creating a new middleware, `AuthyVerify`, that checks if the user has been verified within the past 10 minutes. If not, it redirects them to the verification page. The application also uses a controller, `AuthyController`, to handle the verification flow and update the session with the `is_verified` key. The verification process is implemented using Authy's API to verify the token sent by the user. The application also includes routes for deleting notes, which requires re-authentication via Authy. The code uses Laravel's built-in features such as middleware, controllers, views, and routes to implement the re-authentication flow.
Feb 05, 2021
2,838 words in the original blog post.
Laravel Livewire enables the creation of dynamic interfaces by leveraging AJAX requests to update the server when user interactions occur. By utilizing a library such as MySQL for data storage, developers can build reactive and dynamic interfaces using Blade templating engine. The tutorial demonstrates how to create a live search box with Laravel Livewire and MySQL, allowing users to input search queries and retrieve relevant results from a database. It covers key aspects of the project, including setting up the necessary dependencies, configuring the database for FULLTEXT indexes, creating a Search trait, and integrating it into the User model class. The tutorial also provides an example of how to create a Livewire component that interacts with the database and renders search results in a user-friendly manner.
Feb 05, 2021
1,937 words in the original blog post.
With Twilio Functions, you can send a virtual Valentine's Day gram to your loved ones while in quarantine. To do this, you need a free or paid Twilio account and some prior knowledge in JavaScript or a willingness to learn. You create a TwiML Bin, which is a serverless application that allows you to explore Twilio's capabilities without writing complex code. The bin uses a text-to-speech engine called Alice to deliver a pre-recorded message, such as "Happy Valentine's Day! You are a rainbow infused space unicorn!" You then create a Twilio Function to execute the TwiML Bin and make an outbound call using the calls.create method. Finally, you can test out the function by calling your own phone number or sending it to others with a unique URL. The possibilities for customization are endless, from changing Alice's voice to adding your own pre-recorded message.
Feb 04, 2021
1,265 words in the original blog post.
Adonis Panagidis outlines an efficient method for creating an automated on-call roster notification system using Twilio's suite of tools, including Programmable Voice, SMS, and Functions, to address the common issue of reaching the appropriate on-call employee swiftly, particularly in time-critical situations. This solution enables organizations, particularly those in sectors like healthcare and emergency services, to streamline their on-call processes by automatically connecting to the most available employee, thereby eliminating the need for manual searching through rosters. The setup involves configuring Twilio services, deploying code, and managing environmental variables to ensure seamless operation, with potential expansion ideas such as integrating third-party systems like Google Sheets or Microsoft Sharepoint for enhanced roster management. By automating the notification system, the process becomes more efficient, reducing response times and improving overall customer experience, while also offering the flexibility to handle various edge cases and improve upon the initial implementation.
Feb 04, 2021
1,399 words in the original blog post.
Twilio is introducing Elastic SIP Trunking Support for AudioCodes SBCs and Microsoft Teams, enabling organizations using Microsoft Teams to connect to the PSTN via Twilio's Elastic SIP Trunking service. This collaboration provides a scalable and reliable solution for Microsoft Teams customers worldwide, offering on-demand provisioning, unmatched reliability, and low calling rates in up to 100 countries. The solution is made possible by AudioCodes Mediant SBCs, which simplify deployments, facilitate cloud migrations, and optimize quality of service, while also providing features such as multi-tenant support and compatibility with Microsoft Teams' Local Media Optimization feature. Twilio's Elastic SIP Trunking services complement the joint solution, offering global coverage, low costs, on-demand provisioning, flexibility and control, and simplified operations.
Feb 03, 2021
878 words in the original blog post.
A Twitch chatbot can be created to engage with viewers in real-time using Node.js, Twilio Programmable Messaging, and tmi.js. To start, dependencies are installed, including the necessary libraries for interacting with Twitch chat and sending SMS messages. A basic bot is then created that logs incoming chat messages from a specified channel, and responds to specific commands such as "!hello". The bot can also be used to send text messages via Twilio Programmable Messaging, allowing streamers to notify subscribers of important events in real-time. By combining these features, a more advanced Twitch chatbot can be built, potentially integrating with other APIs or adding new features to enhance the user experience.
Feb 03, 2021
1,381 words in the original blog post.
Twilio launched Video Log Analyzer to provide transparency to developers operating video applications at scale. The tool captures detailed information about Video Rooms and Participants, allowing developers to quickly investigate Room and Participant issues. It stores metadata for Rooms that ended in the past 2 days for Twilio Video WebRTC Go Rooms and past 7 days for all other Rooms types. The Video Log Analyzer landing page allows filtering by specific time ranges, Room types, and video codecs, as well as a search utility to locate specific Rooms. The tool also captures metadata about every Room, including the method used to create the Room, aggregated codecs detected, and Participant details. By analyzing this data, developers can identify commonalities in reported issues, correlate behavior to specific platforms or browser versions, and focus on the right problems to improve their applications. Video Log Analyzer provides a REST API for retrieving Programmable Video Room and Participant details, allowing developers to simplify troubleshooting and help identify commonalities in reported issues.
Feb 02, 2021
1,035 words in the original blog post.
This project utilizes the intl-tel-input plugin to create an international phone number input field that processes and parses phone numbers using basic HTML, JavaScript, and the plugin's configuration options. The plugin provides a country code dropdown with flags to represent different countries, normalizes user input to include spaces, parentheses, dashes, and more, and formats the phone number in E.164 format as required by many APIs. The project also includes recommendations for phone verification and fraud prevention, such as normalizing phone numbers in E.164 format and performing a phone verification using Twilio's Verify API.
Feb 01, 2021
1,096 words in the original blog post.
The GitHub Universe event brought together 30,000 students from around the world for a three-day online conference, featuring talks on career development and new technologies, as well as educational challenges and activities such as making pull requests to open source projects like The Flame of Open Source and TwilioQuest. The event was designed to provide students with hands-on experience in software development and community building, with the goal of fostering the next generation of developers. Students were encouraged to participate in various activities, including coding challenges and learning from industry experts, and those who made their first pull request were rewarded with swag. The event aimed to bridge the gap between education and real-world developer tools, providing students with valuable skills and experience.
Feb 01, 2021
477 words in the original blog post.