Home / Companies / Twilio / Blog / Post Details
Content Deep Dive

Sending Text Messages with Red and Twilio

Blog post from Twilio

Post Details
Company
Date Published
Author
Alex Baban
Word Count
883
Language
English
Hacker News Points
-
Summary

Red is a next-gen programming language inspired by REBOL. It's an imperative and functional language that allows for cross-compiling GUI applications into stand-alone executables about 1 MB in size, making it suitable for developing portable applications. The goal of this project was to build a simple GUI application that sends text messages using Twilio, which is achieved through the use of Red's built-in features and its ability to make POST requests to Twilio's API. The code is written in a concise manner, with most functionality implemented in just 50 lines of code or less. The development process involves installing the Red toolchain, setting up a Twilio account, creating a new project, and writing the application code in a text file named `twilio-sms.red`. The application can be built for different operating systems by changing the target flag during compilation.