Unable to see docs nor examples for upload_media #375

Closed
opened 2015-04-05 13:56:51 -07:00 by Menelion · 3 comments
Menelion commented 2015-04-05 13:56:51 -07:00 (Migrated from github.com)

I would like to add a possibility to upload media to my client.
In the endpoints.py I saw that the docs are here. But it says "Access denied" and there is no example in the examples folder.
Please help.
Thanks!

I would like to add a possibility to upload media to my [client](https://github.com/Oire/theqube). In the `endpoints.py` I saw that the docs are [here](https://dev.twitter.com/rest/public/uploading-media-multiple-photos). But it says "Access denied" and there is no example in the `examples` folder. Please help. Thanks!
michaelhelmick commented 2015-04-08 11:17:19 -07:00 (Migrated from github.com)

Hello,

That API method is removed from Twitter.

You'll need to upload the media, https://github.com/ryanmcgrath/twython/blob/master/twython/endpoints.py#L132-L140 (https://dev.twitter.com/rest/reference/post/media/upload)

And then update status with the media_ids from the media upload response.

Hello, That API method is removed from Twitter. You'll need to upload the media, https://github.com/ryanmcgrath/twython/blob/master/twython/endpoints.py#L132-L140 (https://dev.twitter.com/rest/reference/post/media/upload) And then update status with the `media_ids` from the media upload response.
Menelion commented 2015-04-08 11:33:01 -07:00 (Migrated from github.com)

@michaelhelmick, OK, thanks. So the issue now is that there is incorrect URL in the docs (see the lines you pointed me to in endpoints.py) and there is no example :)

@michaelhelmick, OK, thanks. So the issue now is that there is incorrect URL in the docs (see the lines you pointed me to in `endpoints.py`) and there is no example :)
michaelhelmick commented 2015-04-08 13:52:30 -07:00 (Migrated from github.com)

Feel free to make a pull request changing the url to the one I sent in the comment! :)

Feel free to make a pull request changing the url to the one I sent in the comment! :)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: code/twython#375
No description provided.