Updated twitter.py to use v1.1 of twitter API since v1.0 is no longer active.