Gabriel
Results
1
comments of
Gabriel
I am trying the following ``` from twython import Twython api = Twython(CONSUMER_KEY,CONSUMER_SECRET,ACCESS_TOKEN,ACCESS_SECRET) photo = open('/path/to/image.jpg','rb') response = api.upload_media(media=photo,media_type='image/jpeg',media_category='dm_image') media_id = response['media_id_string'] response = api.lookup_user(screen_name='username') recipient_id = response[0]['id'] params =...