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

WhatsApp posts

  • By Miguel Grinberg
    Sending SVG Images by SMS and WhatsApp with Python and CairoSVG Sending SVG Images by SMS and WhatsApp with Python and CairoSVG

    Twilio Programmable Messaging makes it easy to embed images in text messages, but a notable omission in the list of supported formats is Scalable Vector Graphics (SVG). While SVG is not one of the most popular image formats, it is the preferred choice for generating diagrams and charts, because this format renders without quality degradation at any resolution.

    So what do you do if you have an SVG image and need to send it via SMS or WhatsApp? In this article I will show you how I use the CairoSVG package for Python to convert SVG images to the PNG format, which the messaging APIs support.

    Tutorial requirements

    The only requirement that you need for this tutorial is Python 3.6 or newer. If your operating system does not provide a Python interpreter, you can go to python.org to download an installer.

    Installing CairoSVG

    Let’s begin by creating a directory …

    Read More
  • By Diane Phan
    Look at the Sky! Learn Data Visualization with WhatsApp, Google Maps, Python, Twilio, and Clarifai header - Look at the Sky! Learn Data Visualization with WhatsApp, Google Maps, Python, Twilio, and Clarifai

    Do you remember Second Sky in 2019 when Porter Robinson and his team put up a huge board for attendees to draw and sign on? Due to COVID-19, his music festival transitioned to the virtual world. Inspired by his new song, “Look at the Sky” which debuted at the end of his Secret Sky set, I built this fun digital board to visualize where fans are in the world and how we’re all still connected under the same sky.

    In completing this tutorial you will build a data visualization webpage after applying image recognition on WhatsApp photos.

     

    gif of "Look at the Sky!" project of sending in a WhatsApp message gif of "Look at the Sky!" project viewing data on map

    In this article, we’ll walk through how you can view data visualizations from your Python app that easily share and identify media content in a private WhatsApp sandbox using Twilio API for WhatsApp, Clarifai API, and Flask.

    Tutorial Requirements

    In order to build this project, you will …

    Read More
  • By Diane Phan
    What's Cookin’? Build an Image Recognition App on WhatsApp using Twilio MMS, Clarifai API, Python, and Flask Header image for with title "What's Cookin’? Build an Image Recognition App on WhatsApp using Twilio MMS, Clarifai API, Python, and Flask"

    Food and photos go hand in hand - if there’s food, then you know there’s going to be an impromptu photoshoot to show it off. There are plenty of apps online that promote the lifestyle of making sure “the camera eats first” on any occasion, no matter where you are.

    Completing this tutorial will allow you to apply image recognition on pictures that your friends and family share in WhatsApp.

    gif demonstrating the play through of sending and receiving messages in  the WhatsApp picture sharing and image recognition app

    In this article, we’ll walk you through how you can develop a functional Python program to easily share and identify media content in a private sandbox through WhatsApp using Twilio Programmable MMS, Clarifai API, and Flask.

    Tutorial Requirements

    In order to build this project, you will need to have the following items ready:

    • Python 3.6 or newer. If your operating system does not provide a Python interpreter, you can go to python.org to download an installer. …
    Read More
  • By Mridu Bhatnagar
    Build a Vocabulary Bot for WhatsApp with Python and Twilio Build a Vocabulary Bot for WhatsApp with Python and Twilio

    My mother teaches English to visually impaired students. Due to the current situation with the Coronavirus, in-person classes had to be suspended, and now she is teaching through phone conference calls, with all learning material being exchanged on WhatsApp. I saw an opportunity to solve a problem here, so I decided to build a Vocabulary chatbot to assist her in her teaching.

    This tutorial will show you how to create a WhatsApp chatbot that can help you in improving your vocabulary using the Twilio API for WhatsApp, Python and Flask. Below, you can see the conversation I had with the bot.

    VocabBot demo

    Tutorial Requirements

    To follow this you need the following components:

    • Python 3.6 or newer. If your operating system does not provide a Python interpreter, you can go to python.org to download an installer.
    • Flask. We will create a web application that responds to incoming WhatsApp messages with …
    Read More
  • By Prateek Jain
    Announcing General Availability of Messaging Insights Messaging_Insight_Simple_02 (1).png

    Understanding message deliverability is critical to a successful customer engagement strategy. Lack of transparency and control leads to undelivered messages, frustrated consumers, and time-consuming troubleshooting efforts. Often, companies spend precious engineering time building customized dashboards just to understand usage and delivery health.

    Today, we are excited to announce Messaging Insights, providing real-time analytics out-of-the-box within the Twilio Console. For no additional cost or code, customers can now monitor message delivery and engagement, troubleshoot issues quickly, and optimize effectiveness across channels. Messaging Insights is being launched with 4 reports to pro …

    Read More
  • By Dotun Jolaoso
    Build a WhatsApp Bitcoin Currency Conversion Bot with Python and Twilio Build a WhatsApp Bitcoin Currency Conversion Bot with Python and Twilio

    In this tutorial, we’ll be looking at how to build a simple WhatsApp chatbot that handles the conversion of any given number of Bitcoin units to the equivalent in a preferred currency. The bot will be built using Twilio API for WhatsApp and the Flask Framework for Python.

    Technical requirements

    To follow along, you’ll need the following:

    • A free Twilio Account. If you use this link to register, you will receive $10 credit when you upgrade to a paid account.
    • Python 3.6 or newer
    • Ngrok. This will make the development version of our application accessible over the Internet.
    • A smartphone with an active number and WhatsApp installed.

    Creating a Python environment

    Let’s create a directory where our project will reside. From the terminal, run the following command:

    $ mkdir twilio_whatsapp_bot
    

    Next, cd into the project directory and run the following command to create a virtual environment.

    $ python …
    Read More
  • By Gisell Mendez-Maimone
    Twilio API per WhatsApp Business in Italia!! Twilio WhatsApp Business API Integration

    Twilio API per WhatsApp Business è finalmente disponibile in Italia!!


    Per essere rilevanti nel mercato di oggi le imprese devono pensare all'esperienza del cliente nel suo complesso. Quello che gli anglosassoni chiamano il Customer Journey (ossia il “Viaggio del Cliente”) è un percorso fatto di multiple interazioni in diverse fasi temporali, dal primo contatto col potenziale cliente fino alla sua fidelizzazione.

    Per differenziarsi nell’oceano della concorrenza è necessario adottare strumenti di comunicazione multicanale adeguati alla tua nicchia di mercato. In questo contesto, WhatsApp è diventato uno dei canali più popolari in Europa.

    WhatsApp Business API è molto efficace e diffuso, ma come utilizzare questo canale per comunicare a livello Business coi clienti?

    WhatsApp Business API è stato creato su misura per le aziende e per specifiche tipologie d’uso:

    • Notifiche.
    • Supporto Clienti.
    • Verifica in due passaggi.

    Ci sono certi tipi di messaggi e contenuti che non possono essere veicolati …

    Read More
  • By Oluyemi Olususi
    Build a COVID-19 Data Tracker WhatsApp Chatbot using Twilio API for WhatsApp, PHP, and Symfony Build a COVID-19 Data Tracker WhatsApp Chatbot using Twilio API for WhatsApp, PHP, and Symfony

    As the Coronavirus continues to exponentially spread across the globe, software developers around the world are doing the best they can to ensure the distribution of secured and trusted information concerning the Novel Coronavirus. For instance, numerous open-source API projects have been started to provide data to track the number of infected people, recovery rate, and unfortunately, the number of deaths recorded in different countries.

    Commonly, to stay up-to-date with the statistics in your country or neighboring countries requires a browser and surfing the internet to get what is sometimes accurate information.

    In this post, I will show you how to explore one of the recently published open-source APIs built to share the global data. During this process, we will build a WhatsApp chatbot that gives a summary of confirmed and recovered cases and the number of deaths recorded, respectively, by leveraging the infrastructure made available by the …

    Read More
  • By Miguel Grinberg
    Send WhatsApp Notifications with Python and Twilio Send WhatsApp Notifications with Python and Twilio

    Twilio makes it easy to send WhatsApp notifications to users directly from your Python application. In this tutorial we are going to build a simple product delivery form that sends WhatsApp notifications to customers regarding the delivery of their orders.

    whatsapp notification demo

    Tutorial requirements

    To follow this tutorial you need the following components:

    • Python 3.6 or newer. If your operating system does not provide a Python interpreter, you can go to python.org to download an installer.
    • ngrok. We will use this handy utility to connect the Flask application running on your system to a public URL that is accessible on the Internet. This is necessary for the development version of the application because your computer is likely behind a router or firewall. If you don’t have ngrok installed, you can download a copy for Windows, MacOS or Linux.
    • A smartphone with an active phone number and WhatsApp installed.
    • A Twilio …
    Read More
  • By Dotun Jolaoso
    Build a WhatsApp Currency Conversion Bot with Twilio and Laravel Build a WhatsApp Currency Conversion Bot with Twilio and Laravel

    Over the years, we’ve seen a steady increase in the number of bots and chatbots available to us over different platforms. Brands make use of bots as an exciting way to engage customers, while also providing a way to automate what could normally be considered, monotonous conversations. With it’s over 1.5 billion users and growing, and familiar chat technology, WhatsApp presents a strong case for building a chatbot on it’s platform.

    In this tutorial, we’ll be looking at how we can build a WhatsApp Currency Conversion Bot for converting multiple currencies using the Twilio API for WhatsApp.

    Technical Requirements

    You will need the following to complete this tutorial:

    Setting up Laravel

    There are different ways to set up a new Laravel project. You can do so via the Laravel installer or by …

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