updating twitter code to use v1.1 of API