Corrected the docs URL for uploading media, fixes #375

This commit is contained in:
Andre Polykanine A.K.A. Menelion Elensúlë 2015-04-09 00:55:24 +03:00
parent 18e845d00d
commit 4c213ea10d

View file

@ -135,7 +135,7 @@ class EndpointsMixin(object):
to the 'update_status' method using the 'media_ids' param. to the 'update_status' method using the 'media_ids' param.
Docs: Docs:
https://dev.twitter.com/rest/public/uploading-media https://dev.twitter.com/rest/reference/post/media/upload
""" """
return self.post('https://upload.twitter.com/1.1/media/upload.json', params=params) return self.post('https://upload.twitter.com/1.1/media/upload.json', params=params)