Updated to work with Twitter API v1.1.