Level up your Twilio API skills in TwilioQuest, an educational game for Mac, Windows, and Linux. Download Now
Build the future of communications.
Start building for free
  • By Matt Makai
    Como enviar Mensagens de Whatsapp em 30 segundos com Python Como enviar Mensagens de Whatsapp em 30 segundos com Python

    WhatsApp é um serviço de mensagem over-the-top (OTT) amplamente utilizado ao redor do mundo. Nesse tutorial, nós vamos aprender como enviar mensagens de Whatsapp utilizando a API de mensagens da Twilio, com código reutilizável que pode ser adicionado a qualquer aplicativo Python.

    Configurando o ambiente de desenvolvimento

    Precisamos das seguintes dependências instalados em nosso ambiente de desenvolvimento local para enviar mensagens de Whatsapp.

    Se você não tem o Python já instalado na sua máquina, você pode ir no link python.org e instalar a última versão.

    O próximo passo é logar na sua conta da Twilio ou criar uma nova conta gratuita.

    Acesse o Console da Twilio e guarde o Account SID e o Auth Token da sua conta. O Account SID é um identificador único para sua conta, enquanto o …

    Read More
  • By Matt Makai
    Our Favorite Halloween Hacks using Python, Raspberry Pi, Arduino and More Halloween Hacks for 2019

    Today is Halloween and this holiday provides a wonderful excuse to hack on some spooky-themed projects.

    We've curated a few of our favorite Halloween hacks in this post, ranging from a Raspberry Pi-controlled pumpkin to a Dracula dark theme for your Terminal.

    Pumpkin Pi

    This cleverly-named Pumpkin Pi project combines a Raspberry Pi with some custom open source Python code and a carved-out pumpkin to create a high-tech Jack o'Lantern.Hardware part of the Pumpkin Pi hack, from http://begillespie.github.io/Pumpkin_Pi/

    The Jack o'Lantern can be controlled to change the colors of the LED lights inside the face and a motion sensor triggers a unique lighting sequence for people when they walk by.

    Spotify-Powered Halloween Sound Effects

    This Halloween Sound Effects u …

    Read More
  • By Matt Makai
    How to Broadcast SMS Text Messages from Python 3 Django Web Applications Broadcasting SMS Text Messages from Python Django Web Applications Tutorial

    Short Message Service (SMS) text messages are ubiquitous for time-sensitive communication. They’re also easy to send at scale by combining a Django web application with an application programming interface (API).

    In this tutorial, we will build a straightforward Django project with SMS capability that transmits messages to multiple recipients.

    If you want to go further in learning either Python or the Twilio SMS API, check out the amazing TwilioQuest training game.

    Required Project Dependencies

    Python 3 is required for this tutorial because Python 2 will no longer be supported after December 31, 2019. We’ll use Python 3.8 to build this tutorial.

    We will also use the following application dependencies in our application:

    If …

    Read More
  • By Matt Makai
    How to Send Daily SMS Reminders in PHP 7 Laravel Web Apps with cron How to Send Daily SMS Reminders in PHP 7 Laravel Web Apps with Cron

    Sending and receiving SMS is easy with the Twilio API, but what if you want to send regularly-scheduled reminders from your Laravel web applications? In this tutorial, we'll combine Laravel, Twilio Programmable SMS and cron to send daily reminders that are stored in a Laravel data model.

    Project Dependencies

    We'll need the following dependencies to complete this tutorial:

    We can start building our project once you have PHP 7 and Composer installed. We'll sign up for a Twilio account at the appropriate step in the tutorial.

    All of the code for the project can be found within this Git repository on GitHub.

    Create a Laravel Project with Composer and the Twilio Helper Library

    In your terminal, start a new Laravel project named reminder-app using the following command:

    $ …
    Read More
  • By Matt Makai
    Spaces Not Tabs: Our Favorite Python Tutorials for May 2019 E8UIen2vI0xmW5JjQD5o87O584rJJRBGTFuNOjzkjdWcQAveKKqQgFta7tdwIJ0kgAZifeOW64y212a0AIZOLGJ5iOrumK0T0PnTR3aJTDUFD2m6TOMnTZbod3Vno1q8UfhhqW3t

    Python programmers love to help – the community publishes detailed tutorials for their fellow developers every day. Over the last month, we’ve been collecting some of those posts we found most helpful.

    Each tutorial is easy enough for beginner-level programmers to follow. More experienced developers should be able to breeze through the code while building a useful project, or use them as convenient refreshers.

    Whichever bucket you belong to, enjoy the posts!

    Exercising, or Slacking? Build a Python Bot for Either

    The term "bot" feels so 2017 in this community. However, they are still a great way to learn how to build Python applications.

    Use Bokeh to Visualize All the Data!

    Bokeh, the wonderful Python visualization library …

    Read More
  • By Matt Makai
    How to Send WhatsApp Messages from Java Applications with Twilio whatsapp-java-1600x650.png

    WhatsApp is a global messaging service that helps billions of people communicate with each other. Applications can now also programmatically interact with people on the service using the Twilio Messaging API and Twilio's Java Helper Library. Let's learn how to quickly send messages to people from a new or existing Java application.

    Installing Dependencies

    Our local development environment needs the following dependencies to properly send WhatsApp messages from Java.

    First, install Java on your development machine if you do not already have it. You can also read this detailed tutorial on setting up your Java development environment if you are having trouble.

    Next, log into your existing Twilio account or sign up for a new free Twilio account.

    Take note of your Account SID and Auth Token when …

    Read More
  • By Matt Makai
    Enviar un Mensaje de WhatsApp en 30 Segundos con Python 30 Seconds Python WhatsApp

    WhatsApp es un servicio de mensajería over-the-top OTT extensamente usado alrededor del mundo. En este tutorial, aprenderemos cómo rápidamente enviar mensajes de Whatsapp a través de la API de mensajería de Twilio con un código reusable que se puede agregar a cualquier aplicación de Python.

    Configuración ambiente de desarrollo

    Necesitamos tener las siguientes dependencias instaladas en nuestro ambiente de desarrollo local para enviar mensajes de WhatsApp.

    Si no tiene Python instalado actualmente en su máquina, vaya a la página  de descargas de Python e instale la versión más reciente.

    Siguiente, Ingrese a su cuenta actual de Twilio o regístrese para adquirir una cuenta de Twilio nueva.

    Después de ingresar a la consola de Twilio, tome nota de su Account SID y su Auth Token. …

    Read More
  • By Matt Makai
    Senden einer WhatsApp-Message mit Python in 30 Sekunden Überschriftbild

    WhatsApp ist ein weltweit stark verbreiteter Over-the-Top (OTT)-Messaging-Dienst. In diesem Tutorial zeigen wir Ihnen, wie Sie WhatsApp-Nachrichten schnell über die Twilio Messaging API versenden können, mit wiederverwendbarem Code, der jeder Python-Anwendung hinzugefügt werden kann.

    Einrichtung der Entwicklungsumgebung

    Zum Senden von WhatsApp Nachrichten benötigen Sie die folgenden Abhängigkeiten, die in unserer lokalen Entwicklungsumgebung installiert sind.

    Wenn Sie Python noch nicht auf Ihrem Rechner installiert haben, gehen Sie auf die Python-Download-Seite und installieren Sie jetzt die neueste Version.

    Loggen Sie sich dann in Ihr bestehendes Twilio-Konto ein oder melden Sie sich für ein neues kostenloses Twilio-Konto an.

    Nachdem Sie sich bei der Twilio-Konsole angemeldet haben, notieren Sie sich Ihre Konto-SID und Ihr Auth Token. Die Konto-SID ist ein eindeutiger Identifikator für Ihr Konto, während der Auth Token ein geheimer Schlüssel ist, der …

    Read More
  • By Matt Makai
    How To Send a WhatsApp Message in 30 Seconds with Python uDU_MWBJHg-z8j5Jzymi03iLb6dQC_iUsBF1qtRxPfzyPxYB39odAdqU5zKAxA5SiR7JTRLQAT-z_EkdAhD6EJ83DgUJDZG2y2EtzuTrmEMejJnakbTR0Tctj-OvqID1iqXjC5wv

    WhatsApp is an over-the-top (OTT) messaging service widely used throughout the world. In this tutorial, we will learn how to quickly send WhatsApp messages through the Twilio Messaging API with reusable code that can be added to any Python application.

    Development Environment Setup

    We need the following dependencies installed on our local development environment to send WhatsApp messages.

    If you do not have Python already installed on your machine, go to the Python downloads page and install the latest version now.

    Next, log into your existing Twilio account or sign up for a new free Twilio account.

    After you log into the Twilio Console, take note of your Account SID and Auth Token. The Account SID is a unique identifier for your account while the Auth Token is …

    Read More
  • By Matt Makai
    How to Send SMS Text Messages with AWS Lambda and Python 3.6 GmRICmhwjC02v09YluVqfcQoHzr4641UIgNkcJW4pit2b6YFeD0e5W9GOdKIEgCmPjoeELWq0MU22kVx-BK_H92JSUG84XO5ZVpAvG79J81hYXlVH2KT6XS-vEneNNDLp706hswu

    Amazon Web Services (AWS) Lambda is a usage-based service that can run arbitrary Python 3.6 code in response to developer-defined events. For example, if a new JPEG file is uploaded to AWS S3 then AWS Lambda can execute Python code to respond to resize the image on S3.

    Let’s learn how to use AWS Lambda with a manual test event trigger to send outbound text messages via a Python Lambda function that calls the Twilio SMS REST API.

    Getting Started with AWS Lambda

    Sign up for a new Amazon Web Services account, which provides a free tier for new users, or sign into your existing AWS account.

    After you sign up go to the main Console page that looks like the following screen.

    Search for lambda in the dashboard text box.
    As shown in the sc …

    Read More
  • Newer
    Older
    Sign up and start building
    Not ready yet? Talk to an expert.