Skip to content

chatasweetie/twilio-flask-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Responding to Text Messages - Twilio Python Server

Description

A python flask server that responses to text messages.

How it works

The flask server listens to request that are funneled through a secure tunnel - ngrok. It sends responses to depended on what was texted.

Step-by-step guide on how the set up the server, ngrok and connect it to Twilio by chatasweetie on the post:Twilio - 2 Ways of Sending Text Message

Technology Stack

Python, Flask, & ngrok

How to run Script locally

Create a virtual environment

$ virtualenv env
$ source env/bin/activate

Install the dependencies

$ pip install -r requirements.txt

Download ngrok

Run ngrok

$ ./ngrok http 5000

In another terminal, run script

$ python server.py

Note: The messaging functionality requires that you have a Twilio account and connecting ngrok to Twilio.

About the Developer

Jessica Dene Earley
Bio
Linkedin
Blog

About

A python flask server that responses to text messages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages