-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add video upload support #755
Conversation
👍 Thanks for opening a new pull request. The |
👍 would love too! |
I get the following error with files over 30 seconds: "Twitter::Error::BadRequest: Large file can not be finalized synchronously." Do you have any idea how to fix it? Can it be fixed? Or does the endpoint just not support files > 30 seconds like the documentation says. I'm just trying to figure out if it's possible to upload videos up to the 10 minute maximum... Happy to contribute the fix if you can point me in the right direction. (if there is a fix) |
There seems to be very little information about videos with 10 minute limit. I'm guessing it's something only allowed through the Twitter family of apps. If you know differently, please let me know. Thanks |
What is the size in MB of your video? |
17.9 MB |
The code in this pull requests appears to be using the chunked upload automatically... unless I'm missing something. |
You are right, I was looking at the wrong direction |
@sferik sorry, somehow didn't get notifications here. I'm swamped currently, but if I find a minute I'll backport it. |
any example or api class to upload the media and get response back in the form of media ID. |
Clean rebase, since things seem to have exploded over at #705
Adds media/upload support for chunked video uploads.
See:
https://dev.twitter.com/rest/public/uploading-media
https://blog.twitter.com/2015/rest-api-now-supports-native-video-upload