Search code examples
c#twittertweetinvi

Tweetinvi not uploading video greater than 15MB


Im using Tweetinvi and can upload files < 15MB without problem. however over that it fails, even though the Twitter API official docs state "File size should not exceed 15 mb (sync) / 512 mb (async)". I had assumed Tweetinvi would be using async logic and therefore should work, but seems not.

Any ideas if Im doing anything wrong or simply if Tweetinvi doesnt allow this.

Thanks in advance.


Solution

  • OK this is my bad. Im really sorry but it appears someone had revoked my API permissions without telling me, but for some reason I wasnt getting the relevant error when I called the upload. It was only when i tried to do a simple Tweetinvi.Account.GetCurrentAccountSettings that i got the relevant error that helped me track it down.