changed upload_host to api.twitter.com