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 Felistas Ngumi
    Envoyer un message WhatsApp en 30 secondes avec PHP php-whatsapp-twilio-banner

    WhatsApp est considéré comme l’une des apps de messagerie les plus utilisées. Au fil du temps, l’application s’est prouvée sécurisée et digne de confiance. On sait maintenant, grâce à des sondages récents, que les entreprises en ligne s’en servent comme moyen de communication pour contacter leurs clients, plutôt que de se servir du traditionnel SMS.

    Dans ce tutoriel, je vais vous apprendre comment intégrer la messagerie WhatsApp dans votre application en utilisant l’API Twilio pour les messages WhatsApp. Voici une vidéo de 30 secondes qui résume comment faire après l’installation.

    Dans cet article, vous aurez besoin de connaissances de bases en PHP et des commandes de base Unix/Linux. Si vous ne connaissez pas encore, ne soyez pas découragés, j’expliquerai tous les concepts en détail.

    Prérequis

    Assurez-vous d’avoir à disposition ce qui suit :

    Pour commencer

    Ouvrez votre terminal et exécutez …

    Read More
  • By Felistas Ngumi
    Build a WhatsApp Chatbot to Learn German using GPT-3, Twilio and Node.js Build a WhatsApp Chatbot to Learn German using GPT-3, Twilio and Node.js

    Learning a new language can be hard and sometimes enrolling to a language school is not enough. The only way around it, is constant practice. At times, those around you might not share a similar interest or you might not be making enough progress from the learning options you have. As this can get challenging in the long run and demotivate you from learning the language, why not build an AI powered chatbot to lessen the burden? Check out the chat I had below with the GPT-3 language model:

    German chat demo

    In this tutorial, I will walk you through on how to build an AI chatbot to help and encourage you to practice a language that you are learning, in a creative and fun way using the most popular language model of 2020, GPT-3! As I’m in the quest of being fluent in German, I will use this language as an example …

    Read More
  • By Felistas Ngumi
    Track WhatsApp Message Status In Node.js and Twilio API for WhatsApp Track WhatsApp Message Status In Node Js and Twilio API for WhatsApp.png

    Over time, digital media outreach mediums have expanded from email and SMS to social media. It is estimated that the average user spends at least 2 hours and 22 minutes on social media and messaging platforms per day. In a world where almost everyone is connected, companies have jumped on this opportunity and used it to promote and campaign for their products and services. But what’s the point of sending promotional content if there is no way to track it? The Twilio API for WhatsApp recently added the read receipts feature where one can effectively measure if the recipient consumes the content sent to them. In this tutorial, I’m going to take you through on how you can obtain the status of a WhatsApp message sent via the Twilio API for WhatsApp.

    Prerequisites

    To complete this tutorial you will need the following:

    1. Node.js Version 8 or above
    2. Twilio Account
    3. Mongo …
    Read More
  • By Felistas Ngumi
    How To Send Location Details on WhatsApp in Node JS How To Send Location Details on WhatsApp in Node JS

    WhatsApp is one of the most preferred mobile messaging applications in the world with over 1.5 billion active monthly global users. Since the introduction of WhatsApp business, companies have leveraged this API to engage with their customers to send order or payment notifications, appointment reminders, and shipping alerts among others. One of the key reasons for increased adoption and trust of WhatsApp for users and businesses is the secure end-to-end encryption. Users can share user contacts, documents, locations, and different types of media such as images, audio, and videos. The Twilio API for WhatsApp recently added support for read receipts and location messages. In this tutorial, I will take you through how to send location messages using the Twilio API for WhatsApp.

    Prerequisites

    To complete this tutorial you will need the following:

    1. Twilio Account
    2. Node Version 8 and above

    Getting Started

    In your preferred terminal, run the following commands to …

    Read More
  • By Felistas Ngumi
    Send Email Attachments Using Twilio SendGrid and PHP PHP Email Attachments with SendGrid

    Companies with a clear commitment to efficient communication rely heavily on email as a communication tool. At some point, this dependency requires sending email attachments to customers for transactions such as receiving their invoice after an online purchase, sending of travel itinerary and many more. These attachments can be images, videos, or even documents. Twilio SendGrind API provides a simple and efficient way of doing this. In this tutorial, I will take you through how to send email attachments with SendGrid and PHP.

    Prerequisites

    Ensure you have the following installed in your local development environment:

    1. PHP version 7.0 or higher
    2. Composer

    Also, head over to SendGrid and create a free account.

    Getting Started

    In your preferred terminal, run the following commands to set up the project:

    $ mkdir demo && cd demo
    $ touch email.php
    $ composer require sendgrid/sendgrid vlucas/phpdotenv
    

    The above commands created a folder called demo which …

    Read More
  • By Felistas Ngumi
    Send Serverless Emails using SendGrid and Twilio Functions Serverless Emails

    Software developers are moving away from the expensive, traditional, server-based architecture platforms and shifting towards the trendy serverless applications. This new way of developing applications is event-driven, cheaper in comparison to the operating costs of maintaining a server, offers a quick way of deploying functions and allows businesses to pay for only what they use.

    In this tutorial, you will learn how to send emails using Twilio Functions and SendGrid.

    Project Setup

    To complete this tutorial you will need the following:

    1. SendGrid Account
    2. Twilio Account
    3. Twilio CLI
    4. Node Version 8 and above.

    Getting Started

    After creating a free account on Twilio, install the Twilio CLI which enables you to develop and deploy functions locally. To install the tool, run the following command in your console window.

    $ brew tap twilio/brew && brew install twilio
    

    NOTE: This command is specific to Mac users. If you are on a different platform, …

    Read More
  • By Felistas Ngumi
    Serverless SMS Messaging using JavaScript and Twilio Functions Serverless SMS Messaging using JavaScript and Twilio Functions

    Function As A Service is a solution that allows developers to develop, deploy, and run event-driven functions in the cloud that are fully managed. Without the need for maintaining infrastructure, "serverless" architecture is achieved. In this tutorial, you will learn how to send Twilio Programmable SMS using the new Twilio CLI.

    Project Setup

    You will need the following items in order to get started:

    1. A Twilio account
    2. Twilio CLI
    3. Node Version 8 and above.

    Getting Started

    First, install the Twilio CLI. I'm currently using version 1.8.1. Run the following command in your preferred terminal if on a Mac:

    $ brew tap twilio/brew && brew install twilio
    

    If you are on a different platform, you can find the setup instructions here.

    To confirm a successful installation of the CLI has occurred, type twilio in a new terminal session and the output below should appear.

    Twilio CLI console

    Login to your Twilio account by …

    Read More
  • By Felistas Ngumi
    Add Facebook Login to your Node.js App with Passport.js Add Facebook login to your Node.js app with Passport.js

    Almost all applications require users to create accounts on their websites in order to use certain services. This repetitive process of setting up new profiles and creating new passwords for every application is not only time consuming, but frustrating, and over time, account management becomes hard remembering credentials for every application.

    Thanks to OAuth, we can use popular social media applications such as Google, Facebook and Twitter to authenticate users. This process makes implementing authentication easier and increases adoption due to existing trust built with the social network. So why not integrate it into your application?

    In this tutorial, I will take you through how to integrate Facebook into your Node.js application.

    Prerequisites

    You will need the following dependencies to complete this tutorial:

    1. Node
    2. Facebook Developer account
    3. Mongo Db

    Getting Started

    Follow the instructions below in your preferred terminal in order to set up your development environment:

    $ mkdir …
    Read More
  • By Felistas Ngumi
    Ajoutez Facebook Login à votre application Node.js avec Passport.js Ajoutez Facebook Login à votre application Node.js avec Passport.js

    Presque toutes les applications exigent que les utilisateurs créent des comptes sur leurs sites Web afin d'utiliser certains services. Ce processus répétitif de configuration de nouveaux profils et de création de nouveaux mots de passe pour chaque application est non seulement long, mais frustrant, et au fil du temps, complique la gestion des comptes, en raison du nombre d'identifiants à mémoriser.

    Grâce à OAuth, nous pouvons utiliser les applications de médias sociaux populaires telles que Google, Facebook et Twitter pour authentifier les utilisateurs. Ce processus facilite la mise en œuvre de l'authentification et augmente l'adoption grâce à la confiance existante créée avec le réseau social. Pourquoi ne pas l'intégrer à votre application ?

    Dans ce tutoriel, je vais vous expliquer comment intégrer Facebook dans votre application Node.js.

    Conditions préalables

    Vous aurez besoin des dépendances suivantes pour effectuer ce tutoriel :

    1. Node
    2. Compte développeur Facebook
    3. Mongo Db

    Mise en route …

    Read More
  • By Felistas Ngumi
    Add Querying and Pagination to a CRUD RESTful API in PHP with API Platform and Symfony 4 Add Querying and Pagination to a CRUD RESTful API in PHP with API Platform and Symfony 4.png

    Now that we have created a simple CRUD API, let's learn how to retrieve the data we want using query parameters, customize the pagination of the results, then create custom controllers and endpoints.

    NOTE: This tutorial is Part 2 of a 2-part series. If you haven't completed Part 1, it is available here.

    Adding Custom Operations to Your Endpoints

    API platform automatically creates CRUD operations when the resource is created. Custom operations can be assigned to specific routes if an operation is specified. There are two types of operations for collections and items. Collection operations are operations that act on a group of resources such as retrieving all bucket lists. Item operations are operations that act on a single resource such as retrieving one bucket list. For collection operations, the GET and POST routes are implemented with the GET operation being enabled by default. In item operations, the …

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