PLhery / node-twitter-api-v2

Strongly typed, full-featured, light, versatile yet powerful Twitter API v1.1 and v2 client for Node.js.
https://www.npmjs.com/package/twitter-api-v2
Apache License 2.0
1.25k stars 175 forks source link

I hope to support for uploading MOV files #456

Closed mzkiskw closed 1 year ago

mzkiskw commented 1 year ago

Is your feature request related to a problem? Please describe.

I hope to upload a video using the following function, but It can only upload MP4 and not MOV files. Twitter supports uploading MOV files, so please support it. https://github.com/PLhery/node-twitter-api-v2/blob/master/src/v1/client.v1.write.ts#L342

Describe the solution you'd like

I am not familiar with this, but I expect that the following checks could be changed to address this issue. https://github.com/PLhery/node-twitter-api-v2/blob/17bf318637398758e8f42b4e5bfab0d44833bb56/src/v1/client.v1.write.ts#L440

Describe alternatives you've considered

Converting MOV to mp4 before uploading is a burden. There is no other alternative.

Additional context

nothing in particular