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.
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.
Let’s begin by creating a directory …
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.
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.
In order to build this project, you will …
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.
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.
In order to build this project, you will need to have the following items ready:
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.
To follow this you need the following components:
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 …
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.
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
cd into the project directory and run the following command to create a virtual environment.
$ python …
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:
- Supporto Clienti.
- Verifica in due passaggi.
Ci sono certi tipi di messaggi e contenuti che non possono essere veicolati …
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 …
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.
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 …
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.
You will need the following to complete this tutorial:
- PHP version 7.2.5 or Higher
- Laravel 7
- Twilio Account
- An API Key From Currency Converter
Setting up Laravel
There are different ways to set up a new Laravel project. You can do so via the Laravel installer or by …