Is it possible to do >15MB video uploads, async, using upload_video()?
See original GitHub issueI want to upload videos to Twitter that are larger than 15MB, which is only possible using “async”.
Twython’s upload_video() method says it only supports up to 15MB, but it looks like it can maybe do async uploads, using the check_progress
parameter?
But this isn’t documented in the comments or the documentation, so I’m not sure (a) how to use that, (b) if that is actually for doing async uploads, and © if it will allow the uploading of >15MB videos.
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Media Best Practices | Docs | Twitter Developer Platform
Uploading media with OAuth can be a bit tricky, so we've outlined some things to ... You may attach up to 4 photos,...
Read more >Uploading Large Files as Chunks Using ReactJS & .Net Core
In this article, I will demonstrate how to upload a file without limitations of size using React Js and .Net Core Web API...
Read more >Upload videos longer than 15 minutes - YouTube Help
By default, you can upload videos that are up to 15 minutes long. Verified accounts can upload videos longer than 15 minutes. To...
Read more >Get video duration when input a video file - Stack Overflow
I am using this code to upload video files of 4+ GB. Any idea why video duration is missing for the format you...
Read more >Easy Ways to Upload and Validate Large Files in ASP.NET
The files are uploaded using Post HTTP request in absolutely the same manner as the normal <input type="file" />. Since both modules upload...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@TariqMK this is a bit beyond the scope of this issue, but you can get a more recent version than what’s in the operating system repos by using pip or installing from source. You may want to uninstall the version you got through apt to avoid conflicts.
Forgive me if you know this, but, you can start to run into problems if you’re installing modules for your “system” Python, and you can save yourself a lot of headaches by putting each project in a virtual environment. There are a bunch of options for that and people are opinionated, but you will probably want to find one that works for you if you haven’t yet.
Hi @philgyford:
I know it’s a fair bit later, but I ran into this issue and only solved my problem after, so I’m going to answer here in the hopes that it’s helpful to you or somebody else. If you haven’t gotten it working yet, and if you’re using Twython 3.5.0, I’d add a ‘media_category’ to your request. So in this case it would look like:
Twitter’s documentation on this is really fuzzy, but I found that explicitly including the category was enough to make it work on longer videos.