Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
twilio/freshbooks example
Ruby JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db
doc
lib/tasks
public
script
test
vendor/plugins
.gitignore
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru

README.md

Guido

A sample Freshbooks/Twilio application built to enter the latest Twilio contest and satisfy my own curiousity about the API.

Basically Guido grabs your outstanding invoices and displays a list of customers, giving you the option to click-to-call customers, and add annotations about what transpired on the call.

I profusely apologize for the lack of comments, test cases, and ugly controllers.

Usage

You need to pass your API keys and phone number in as environment variables.

export MY_PHONE=your 10 digit phone number export TWILIO_SID=your twilio SID export TWILIO_TOKEN=your twilio token export FRESHBOOKS_URL="example.freshbooks.com" export FRESHBOOKS_TOKEN=your Freshbook API token

or, in Heroku, look at heroku config

Some notes about problems I ran into: http://ertw.com/blog/2011/06/16/freshbooksheroku-and-twilio-apis/

Something went wrong with that request. Please try again.