Uploading Image with PIL+twython on twitter without saving it

Published: 12/06/2019
Uploading Image with PIL+twython on twitter without saving it
Source: STACKOVERFLOW.COM

I cannot upload to twitter an in-memory image file having resized it from PIL. I want to provide a link to the program, resized it with PIL if is too big and upload it to Twitter. Here's twython "documentation" on this. https://twython.readthedocs.io/en/latest/usage/advanced_usage.html I've got the whole code right but my problem is what object type is acceptable as the media parameter. It see

Read more
Related news
Comment
FACEBOOK