Updating getApiUrl() to point to the correct media url (api.twitter.com) for version 1.1 (while still pointing at upload.twitter.com for version 1.0).