Unable to see docs nor examples for upload_media #375
Labels
No labels
Bug
Enhancement
Feature Suggestion
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: code/twython#375
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I would like to add a possibility to upload media to my client.
In the
endpoints.pyI saw that the docs are here. But it says "Access denied" and there is no example in theexamplesfolder.Please help.
Thanks!
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_idsfrom the media upload response.@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 :)Feel free to make a pull request changing the url to the one I sent in the comment! :)