Skip to content
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

Twitter max video size has changed #162

Closed
sknebel opened this issue Feb 15, 2019 · 2 comments

Comments

@sknebel
Copy link
Contributor

commented Feb 15, 2019

According to https://developer.twitter.com/en/docs/media/upload-media/uploading-media/media-best-practices, it seems like Twitter now supports video up to 512 MB(!). I suppose downstream users might limit earlier, but granary source still references a 15 MB limit.

MAX_VIDEO_SIZE = 15 * MB

@snarfed snarfed closed this in 0424417 Feb 15, 2019

@snarfed

This comment has been minimized.

Copy link
Owner

commented Feb 15, 2019

thanks for filing! fixed, and deployed to bridgy. (untested. :trollface:)

@snarfed

This comment has been minimized.

Copy link
Owner

commented Feb 15, 2019

ideally twitter would publish this number in https://developer.twitter.com/en/docs/developer-utilities/configuration/api-reference/get-help-configuration and keep it updated there, so i could load it dynamically and not have to maintain it as a constant in my own code. they already have a photo_size_limit value there. sadly it seems like that API endpoint hasn't been updated in years, so i'm not holding my breath.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.