Viele Anwendungen überprüfen und autorisieren ihre Benutzer, indem sie einen numerischen Code, das sogenannten Einmalkennwort, entweder per Sprachanruf oder per SMS, an die Telefonnummer des Benutzers senden.
Um mit diesem Tutorial zu beginnen, benötigen Sie Folgendes:
- Node.js muss auf Ihrem Computer installiert sein, zusammen mit einem Paketmanager wie npm oder yarn
- Ein kostenloses Twilio-Konto (melden Sie sich über diesen Link an, bei einem Upgrade Ihres Kontos erhalten Sie ein Guthaben von 10 $)
- Ein Telefon zum Empfangen von SMS
- Die Twilio-CLI mit installiertem Twilio Serverless Toolkit (stellen Sie sicher, dass Sie bei der Twilio-CLI angemeldet sind)
Einrichtung von Twilio Functions
Twilio offers a wide variety of channels you can use to connect with your customers, for example, through an SMS or Phone Call. One of the ways you can use these channels is to collect data from your customers. Depending on the type of data, this can be a complex undertaking. Collecting individual words or numbers is usually pretty straightforward. However, when asking customers to share specific Times and Dates, this can be far more complex. A typical use-case might be the scheduling of an appointment. This is especially true when allowing customers to communicate in free form (for example, “I would like an appointment next Tuesday at 3 pm”).
To build this solution, you will …
In certain instances, businesses need to send longer text messages to communicate effectively. Perhaps it’s a doctor’s office sending post-appointment care notes or a retailer sending a promotion that includes emojis. But the increased character counts in such messages can cause them to be sent across several text messages (segments) which may diminish the recipient's experience and increase costs.
That’s why we’re excited to announce that MMS for Long Text Messages is now generally available!
This feature allows Twilio customers to deliver those longer messages to their recipients via a single MMS message instead of it being broken up into smaller SMS segments. MMS for Long Text Messages is available at no additional cost as part of our Messaging Services features. It is available in the US and Canada and can be used with Short Code, Toll-Free, and A2P 10DLC sender types.
This is another step in …
I used to be an adjunct professor at Berkeley City College. My class was learning about 3rd party APIs, and so I set aside a classroom day to work on Twilioquest. On the day of the event, my students showed up and fired up their laptops...
And I learned that my classroom had no cell service.
While it was funny to watch my students run outside to a window to try and get some service and "catch" the text message, situations like this show us a clear issue: sometimes, our personal cell phones can be a blocker to our Twilio development. That's why Twilio's Developer Advocacy team is excited to announce the Twilio Dev Phone, a Twilio CLI plugin that allows you to send and receive calls and SMS straight from your local development environment.
You can learn more about the dev phone and how to use it …
Serverless platforms are ideal for the deployment of webhooks such as those used by Twilio services, as they provide flexibility and scalability without the complications involved in hosting on your own infrastructure.
To work on this tutorial you will need the following items:
- A Python 3 interpreter compatible with AWS Lambda (as of April 2022, Python 3.6, 3.7, 3.8 or 3.9). If your operating system does not provide a Python interpreter, you can go to python.org to download an installer.
- Node.js installed on your computer. You can download a Node.js installer from the Node.js website.
- A Twilio account. If you are new to Twilio click here to create a free account now and receive $10 credit when you upgrade …
Offices are opening up again! As employees are slowly going back to work in the office, local businesses are blooming with an influx of customers and new food orders. Allow Twilio to assist you in making your next lunch run with a quick and accessible way to view those elaborate orders on your phone when you're in line.
In this article, you will learn how to make a list to add and view from your phone using Twilio SMS and Java.
- Java Development Kit (JDK) version 8 or newer.
- Maven 3.3 or newer.
- IntelliJ IDEA Community Edition for convenient and fast Java project development work. The Community Edition is sufficient for this tutorial.
- A free or paid Twilio account. If you are new to Twilio, get your free account now! (If you sign up through this link, Twilio will give you $10 credit when you upgrade.)
- ngrok, …
There are a hundred different ways to provide configuration to your applications. For almost any programming language, you can use environment variables and .env files, but configuration can also be stored in other file formats like JSON, YAML, TOML, XML, INI, and the list keeps on going. Though, in some scenarios configuration isn't pulled from files, but instead is pulled from a service like Azure Key Vault, HashiCorp Vault, or a similar vault service. It is rare that your configuration will come from a single source. Luckily, there are APIs in .NET that can help you grab configuration from multiple sources and merge them together.
In this tutorial, you'll start with an application that sends text messages using Twilio Programmable SMS, where the configuration is fetched directly from the environment variables. You'll then refactor the app to
- fetch configuration from multiple sources, specifically, JSON files, user-secrets, environment variables, and …
Twilio is a customer engagement platform providing programmable communication tools for making and receiving phone calls, sending and receiving text messages, and performing other communication functions using its web service APIs. Twilio conveniently empowers communication in any language.
With the help of the Twilio SMS API, Java, and the Spring Boot framework, you can send SMS with a text message. This article will help you set up a Spring Boot application that will expose a REST API to send the SMS. You will also be using the Twilio Java Helper Library.
In this article, you will learn how to navigate a Java IDE to set up and build a Spring Boot application and send an SMS to your mobile device. Find the code for the article on GitHub.
When you think of "office hours", what comes to mind? Perhaps you imagine a professor who has set aside time for students to stop by their office to ask for advice or receive guidance. Or maybe you imagine a business leader who creates space on their calendar for colleagues and direct reports to ask questions or share their ideas.
With the rise of virtual and hybrid environments, many people have taken their office hours online, and video chat provides a great way to have face-to-face conversations without needing to be in the same physical location.
In this tutorial, you will learn how to build a virtual office hours application that allows you to create a new, named video room with a customized timeout window and receive an SMS notification when a participant joins the room. For this project, you will use Python and Flask, along with a bit of …
The Twilio helper library for ASP.NET (Twilio.AspNet) is a community-driven open-source project to make integrating Twilio with ASP.NET easier, for both ASP.NET Core and ASP.NET MVC on .NET Framework. The library helps you with very common use cases like:
- Responding to Twilio webhook requests with TwiML objects from the official Twilio SDK for C# and .NET.
- Binding data from Twilio webhook requests to strongly typed .NET objects.
- Validating webhook requests originate from Twilio and rejecting them if not.
As .NET and ASP.NET is evolving, the Twilio.AspNet contributors are enhancing the library to take advantage of the newest capabilities and best practices. So what's new?
What's old in Twilio.AspNet
Actually, before I share the shiny new additions, let me share what is already part of the library. After all, this is the first blog post to share news about the library.
Handle Twilio webhook requests with ASP.NET
In previous versions …