Twitter api url has been fixed

Twitter divided their api calls by separated paths for api version 1.0
and 1.1, twitter client stopped working after that. This code fixes
issue.