fix endpoints for Twitter API version 1.1

API version 1 is deprecated.