Adding upload media endpoint #349
No reviewers
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#349
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "master"
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 started having some problems with update_with_media method and it looks like it's deprecated:
https://dev.twitter.com/rest/reference/post/statuses/update_with_media
The new method to update with media is described in here:
https://dev.twitter.com/rest/public/uploading-media-multiple-photos
This pull request adds
upload_mediamethod to twython so images can first be uploaded to twitter before they are attached to a update.I also added to docstring an explanation on how to proceed after uploading the media.
Coverage decreased (-0.02%) when pulling
83379b42e6on filipeximenes:master into00ccafe0c9on ryanmcgrath:master.A huge 👍 on adding this endpoint!
I'll try and push a release by tomorrow!!
May be a good idea to add a deprecation warning or at least a note on the
update_with_mediadocstring.@filipeximenes Good idea.
Also, guys, I didn't forget about this! I have it on my to-dos; with the latest due date being Thursday. So, no matter what. Expect a release by Thursday!