Use GET request if the media upload command is STATUS #425
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#425
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "mediaupload_status"
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?
Twitter recently announced support for longer duration videos https://twittercommunity.com/t/api-support-for-140-second-video/69153 but to take advantage of that, the media must be uploaded via the async method.
The async media upload method requires an additional STATUS command, but unlike the other commands such as INIT, APPEND, FINALIZE, the STATUS command is a GET request. The patch switches the upload_media endpoint to use self.get() if the command param is 'STATUS'.
Coverage decreased (-0.2%) to 56.094% when pulling
f7ddbcf414on ping:mediaupload_status into2faa84629bon ryanmcgrath:master.