Build the future of communications.
Start Building for Free

ngrok posts

  • By Joseph Udonsak
    Integrate Twilio WhatsApp Business API with a Symfony Application Integrate Twilio WhatsApp Business API with a Symfony Application

    With a monthly active user base of over 2 billion people, WhatsApp has risen to one of the most popular messaging platforms in the world today. This has established it as a viable means of sending notifications to clients.

    What's more, by using the WhatsApp Business API by Twilio, you can establish a two-way communication channel with your customer and improve your service offering, such as order processing and management for instance.

    In this article, you will learn how to do this by integrating a PHP implementation of the Eliza program with the WhatsApp Business API, making it possible to chat with Eliza via WhatsApp.

    Prerequisites

    To follow this tutorial, you need the following things:

    Set up the WhatsApp Testing Sandbox

    The first thing …

    Read More
  • By Johnny Nguyen
    SMS Forwarding and Responding Using Twilio SMS and Python SMS Forwarding and Responding Using Twilio SMS and Python

    An SMS proxy service uses an additional phone number to serve as an intermediary between two or more parties. One of the main reasons to use a proxy to forward messages is to facilitate communication without disclosing phone numbers. As a result, an SMS proxy encourages reporting, collaboration, and discussions without the risk of revealing a private phone number.

    In this tutorial, you will learn how to use Twilio’s Programmable Messaging API to proxy messages. This tutorial includes 2 different iterations of the application. The first will cover how to forward an SMS message, while the second will give an example of how to respond to the message.

    Prerequisites

    To continue with this tutorial, you will need:

    Read More
  • By Miguel Grinberg
    Using Ngrok in 2022 Using Ngrok in 2022

    A large number of online tutorials on this blog and elsewhere recommend the use of Ngrok as a quick way to temporarily make a web application running locally on your computer available on the Internet. This tool is an extremely popular solution that enables developers to test their webhooks and other web based applications during development.

    Have you tried following a tutorial that uses Ngrok and could not make it work? The reason is likely that Ngrok has recently added some restrictions to its service, making the instructions that you find in a lot of tutorials incorrect for current versions of the tool. This article explains what the changes are, and how to avoid hitting the limitations this service has put in place.

    What is Ngrok?

    Ngrok is a development tool that you can use to expose a server running locally on a computer, possibly even behind a firewall, to …

    Read More
  • By Diane Phan
    How to Set Up and Deploy a Java Spring Boot Application header - How to Set Up and Deploy a Java Spring Boot Application

    It might seem intimidating to build projects using Java especially when it seems confusing to know how to start and set up. Fortunately, using the Spring Boot and ngrok tools will reassure you that writing code for Java applications can be fast and seamless.

    Spring Boot reduces the problem of figuring out how to structure the project hierarchy and provides sufficient documentation for developers to create standalone applications without relying on external web servers.

    Many articles on the Twilio blog utilize ngrok, a localhost tunneling tool that exposes webhooks on public URLs that can be reached by Twilio. The excellent ngrok tool is also used to generate temporary public URLs for your development web server.

    In this article, you will learn how to set up a Java Spring Boot application and create a tunnel from a URL on the ngrok.io domain to the local application running on your computer. …

    Read More
  • By Sam Agnew
    Using Event Webhooks for Emails with Twilio SendGrid in Python Copy of C04 Blog Text.png

    When sending emails with Twilio SendGrid, sometimes you want to be able to keep track of the status of these emails, such as when a recipient opens the message or reports it as spam. This is made possible by the use of Event Webhooks. Let's walk through how to use Python and Flask to track the status of emails that you send.

    Prerequisites and dependencies

    Make sure you have the following before moving on:

    • Python 3 installed on your machine
    • A free SendGrid account
    • An email address to test out this project
    • A domain on which you will receive emails. For the purposes of this article, I’m going to use yourdomainhere.com. You will need to replace it with your own domain name.

    Here is a guide you can follow for setting up your development environment if you are going to be doing more web development with Python in …

    Read More
  • By Matthew Setter
    Crear un Chatbot de WhatsApp con PHP, Mezzio y Twilio chatbot-php

    Un Chatbot es una aplicación de software con la que una persona puede tener una conversación, ya sea por escrito o por voz. Dicho esto, su capacidad de tener una conversación suele variar bastante. Por ejemplo, algunos bots de chat solo pueden responder un conjunto limitado de preguntas específicas (a veces en orden fijo). Sin embargo, otros utilizan una combinación de inteligencia artificial (IA) y aprendizaje automático (ML) para interactuar casi como lo haría un ser humano.

    En este tutorial, le mostraré cómo crear un pequeño y sencillo Chatbot con la API de Twilio para WhatsApp, el marco de Mezzio para PHP y la API del clima con el fin de obtener el pronóstico meteorológico actual para cualquier ciudad del mundo.

    ¿Cómo funcionará el Chatbot?

    Antes de entrar y escribir el código, veamos rápidamente una descripción general de cómo funcionará el Chatbot. En esencia, la lógica del proyecto es …

    Read More
  • By Chris Gargotta
    How to use Twilio SMS and Voice with a .NET 6 Minimal API How to use Twilio SMS and Voice with NET 6 Min API.png

    With the release of .NET 6, ASP.NET Core introduced a new feature called Minimal APIs. Minimal APIs give you the ability to create HTTP APIs with minimal code. This is ideal for developers who want to build applications or microservices with the minimum amount of files and code possible. In this tutorial, you will learn how to build a Minimal API and use it with Twilio to respond to SMS messages and voice calls.

    Prerequisites

    You will need these items to follow along:

    You can find the source code for this tutorial on …

    Read More
  • By Niels Swimberghe
    Integrate ngrok into ASP.NET Core startup and automatically update your webhook URLs Integrate ngrok into ASP.NET Core & update your webhook URLs

    When you are developing web applications on your local machine, you sometimes need your application to be reachable from the internet. One of the most common reasons to do this is to develop webhooks.

    Webhooks are a way to be notified by an external service when an event has occurred. Instead of you sending an HTTP request to that service, the service sends an HTTP request to your public web service.

    To develop webhooks locally, you can use a tunnel service like ngrok which creates a tunnel between your local network and the internet. However, when you're using ngrok's free plan, ngrok will create a random, public URL anytime you restart your tunnel. This means that you need to update your webhooks with the new URL anytime it changes. If updating your webhook URLs takes a bunch of clicks and keystrokes, this can be quite a hassle.

    Luckily, you …

    Read More
  • By Diane Phan
    How to Integrate Ngrok in a Twilio Java Application header - How to Integrate Ngrok in a Twilio Java Application

    When you are developing an application that uses Twilio services you need to expose your webhooks on public URLs that can be reached by Twilio. If you have followed some of the tutorials that we published on this blog you know that we recommend using the excellent ngrok tool to generate temporary public URLs for your development web server. Ngrok is an incredibly useful tool that creates a tunnel from a URL on the ngrok.io domain to your application running on your computer. You can then configure your webhook using the ngrok URL and when Twilio sends a request to it, ngrok redirects it to your application.

    If you use ngrok frequently enough, it pays off to become a paid customer, which allows you to secure a permanent URL.

    In this article I’m going to show you how to fully automate ngrok by incorporating it into your Java application. …

    Read More
  • By Diane Phan
    How to Run Ngrok Using Java header - How to Use Java Servlets with Ngrok

    Java programmers can benefit from using servlets because they provide an opportunity to understand low-level concepts in Java. Servlets are also great for building interactive web applications and dynamic web pages because they extend apps hosted by web servers. They handle HTTP requests between a browser and any client, database, or application on the HTTP server.

    However, building a local servlet is just the first step. Taking the servlet a step further to communicate with a temporary public domain can allow developers to use webhooks, share a working demo of the project, and more.

    In this article, you will learn how to build and run a servlet to host your Java application and expose it publicly to the web.

    Prerequisites

    Install ngrok

    Ngrok is a great tool because it allows you to create a temporary public domain that redirects HTTP requests …

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