I had a small script working fine for the last month
from twython import Twython import glob import random app_key = "XXX" app_secret = "XXX" oauth_token = "XXX" oauth_token_secret = "XXX" twitter = Twython(app_key, app_secret, oauth_token, oauth_token_secret) def RandomImageTwitt(folder):
But now Twitter has deprecated this method. Twython tells me that I should use Twython.upload_media, but I cannot find any document to use it. Even official Twython sites still provide an example with update_status_with_media.
Does anyone know how to do this or where to find some examples / information?
source share