Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

twilio/freshbooks example

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 app
Octocat-spinner-32 config
Octocat-spinner-32 db
Octocat-spinner-32 doc
Octocat-spinner-32 lib
Octocat-spinner-32 public
Octocat-spinner-32 script
Octocat-spinner-32 test
Octocat-spinner-32 vendor
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 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.