Pomme
#1
When i post status using this function with more than 1 media_id it’ll tweet the status and won’t attach the medias do i need to run it on a loop or a simple comma would do?
def tweet(self):
'''
Publishes Tweet with attached video
'''
request_data = {
'status': 'I just uploaded a video with the @TwitterAPI.',
'media_ids': self.media_id
}
req = requests.post(url=POST_TWEET_URL, data=request_data, auth=oauth)
print(req.json())
Blockquote
From Upload Media Best Practices:
You may attach up to 4 photos, 1 animated GIF or 1 video in a Tweet.
Pomme
#4
I attached 4 media ids but none of it were appearing in the tweet