Skip to content
A dainty Twilio app to keep you up-to-date on the Facebook IPO on the hoof.
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
images
tests
.gitignore
.travis.yml
LICENSE
Makefile
Procfile
README.md
app.py
configure.py
local_settings.py
requirements.txt

README.md

Facebook IPO SMS Monitor

A dainty Twilio application that gives you an update on Facebook's stock price.

Build
Status

Summary

On the M train from Manhattan to Brooklyn during the day of the Facebook IPO, I was bummed I couldn't get updates through the spotty data connection. To rectify this for me and the other Twilio developer evangelists who were on the hoof on the big day, I did up a quick app to deliver the latest quote on $FB's stock price.

As per usual, I depended on the Twilio Hackpack for Heroku and Flask and got data from MarkitOnDemand.

Usage

Text anything to (612) 213-2476 to see it work!

Example of it
working

Installation

Step-by-step on how to deploy and develop this app.

Deploy

1) Grab latest source

git clone git://github.com/RobSpectre/Facebook-IPO-SMS.git 

2) Install dependencies

make init

3) Navigate to folder and create new Heroku Cedar app

heroku create --stack cedar

4) Deploy to Heroku

git push heroku master

5) Scale your dynos

heroku scale web=1

6) Configure a new TwiML app and Twilio phone number to use the app.

python configure.py --account_sid ACxxxxxx --auth_token yyyyyyy -n -N

7) Text the new number and watch the news!

Development

Be sure to follow the configuration steps above and use this step-by-step guide to tweak to your heart's content.

1) Install the dependencies.

make init

2) Launch local development webserver

foreman start

3) Open browser to http://localhost:5000.

4) Tweak away on app.py.

Testing

Better believe I tested this once-in-a-decade OMGWTFBBQ event.

make test

Meta

githalytics.com
alpha

Something went wrong with that request. Please try again.