Update for Twitter API 1.1, using Jason Mayes's Javascript hack