With just a few lines of code that leverage Twilio's helper library for Node.js you can send SMS and MMS messages from your Node.js application. When your application makes an HTTP POST request to Twilio's Message resource, the recipient receives your message almost instantly.
Imagine that you’ve built an appointment reminder solution with Twilio. Every evening at 8:00 pm you run a Node.js application that reads appointment data from a .csv file and sends text message reminders to customers who have appointments the next day. It works great, customers are happy.
You want to enhance your application so that it sends a second reminder, let’s say, 15 minutes before the appointment. You could still run the application the night before but, somehow, the delivery of each message needs to be delayed until it’s the right time to be received by the customer.
This can be done in multiple ways, …
According to GitHub Octoverse Dart was the fastest growing language of 2019.
Dart is a client-optimized language for fast apps on any platform. Developed by Google, Dart is used to build mobile, desktop, backend, and web applications. Dart code is easy to write and doesn't require lots of hassle with memory management and build systems.
Since version 2.6, announced November 2019, Dart comes with dart2native, a compiler with the ability to produce platform-specific, standalone executables. This enables developers to create tools for the command line on macOS, Windows, or Linux. The entirely self-contained executables can run instantly on machines that don’t need to have the Dart SDK installed.
Twilio’s Programmable SMS API makes sending and receiving SMS easy. You can send messages globally using Twilio phone numbers that handle carrier complexities for you. By wrapping the API in a package, you and your fellow Dart developers can …
AWS Lambda is a serverless computing platform that enables you to run programs in response to events without having to configure and administer servers. The code that runs on AWS Lambda in response to an event is called a Lambda function.
With AWS Lambda Layers you can separate your function code from its dependencies so you won't have to upload them on every change of your code. A Lambda Layer is a ZIP archive that contains libraries, a custom runtime, or other dependencies. With Layers, you can use libraries without needing to include them in your deployment package. You can share layers across multiple Lambda functions, and moving runtime dependencies into layers can drastically reduce the size of your deployment package.
The Twilio Node Helper Library lets you write Node.js code to make HTTP requests to the Twilio API. Including the Twilio Node Helper Library in the code you deploy …
With Google Sheets (online spreadsheet app from Google) you can easily collaborate in real-time with coworkers, clients, or others. The structure and simplicity of keeping data in rows and columns brings many benefits.
WhatsApp is a popular app for smartphones that offers a replacement to traditional text messaging systems. It allows you to send messages to another person who is also using WhatsApp. You can send simple text messages and you can also send attachments containing pictures, audio clips or video recordings.
In this post, you will learn how to create a Node.js application which can be used to send WhatsApp messages to multiple recipients. It uses a Google Sheets spreadsheet as the data source for contacts and Twilio's API for WhatsApp to send the messages.
We'll take an iterative approach building this application. Let's start with a name and call it "A Message Sender".
What you'll need
- A Google …
Google Sheets (l'application de tableur en ligne de Google) permet de collaborer facilement en temps réel avec ses collègues, clients ou autres. La possibilité de structurer et de conserver simplement les données en lignes et en colonnes offre de nombreux avantages.
WhatsApp est une application pour smartphones populaire offrant une alternative aux systèmes de messagerie texte traditionnels. Elle permet d'envoyer des messages à une autre personne qui utilise également WhatsApp. Vous pouvez envoyer des messages texte simples, mais également des pièces jointes contenant des images, des clips audio ou des enregistrements vidéo.
Dans ce post, vous apprendrez à créer une application Node.js pouvant être utilisée pour envoyer des messages WhatsApp à plusieurs destinataires. Celle-ci utilise une feuille de calcul Google Sheets comme source de données pour les contacts et l'API de Twilio pour WhatsApp pour envoyer les messages.
Pour le développement de cette application, nous adopterons une approche itérative. …
My octogenarian dad still lives independently.
He does not enjoy his son calling him every night and interrupting his movie-watching. Some nights he's not even at home yet because he's chilling at the pub across the street. He also forgets to charge his cell phone on a regular basis.
These are all the things running through my mind when I want to check in with him and know everything is fine.
What are we going to build
As a software developer, I want my dad to have a button handy where he can "SINGLE click" to tell me "I'm fine, good night" with a text message. After a "DOUBLE click" I want to receive a text message like "Call me when you have time." When dad gives the button a "LONG click" I want to receive a text message and a voice call with "I need your help now!".
Red is a next-gen programming language, strongly inspired by REBOL. It is both an imperative and functional programming language.
Red is different from other languages. With Red we'll be able to cross-compile GUI applications into stand-alone executables about 1 MB in size. As Gregg Irwin (Red Community Manager) puts it, we will look like superheroes, but our sidekick is the one doing all the work.
What are we going to build
"A picture is worth a thousand words", our stand-alone GUI application will look something like this:
It contains an input field for the destination phone number, another input field for the body of the message and a "Send" button. Pretty simple. Let's build this! (Oh..., and let's do it in 50 lines of code or less, no Xcode, Visual Studio or things like that, Red has the "batteries included".)
Setting Up for Development
To get started we need: …