Trying to upload a 7MB video using postMediaChunked takes over a minute to respond for some reason.
I made sure the video is the right codec by trying to upload it through the website and that responds almost instantly, but this hangs for some reason.
twit.postMediaChunked({ file_path: file }, function (err, data, resp) { if (err) { console.log(Failed: ${err}) } else { console.log(data) } })
Trying to upload a 7MB video using
postMediaChunkedtakes over a minute to respond for some reason.I made sure the video is the right codec by trying to upload it through the website and that responds almost instantly, but this hangs for some reason.
twit.postMediaChunked({ file_path: file }, function (err, data, resp) { if (err) { console.log(Failed: ${err}) } else { console.log(data) } })