Closed ramikalai closed 4 years ago
@ramikalai @meteochu Thank you for supporting my miss. But I think making media_category optional is not a fundamental solution for this issue. I read the official reference again and fixed the code. How do you think? https://github.com/mattdonnelly/Swifter/pull/317#issue-461203282
Now that #317 is merged, I don't think we need this one since that one follows the official API guideline. I'm closing this now.
Twitter's API doesn't like it when the media_category is set on an uploaded media file when that media file is to be used in a tweet.
Made the media_category optional.