Relative Content

Tag Archive for pythontwittertweepy

Calling both V1.1 and V2 Twitter API via Tweepy and python script

I’m trying to build a bot that pulls a random text file from a CSV and attaches a video to it and tweets it out on a schedule. I’m using python and I’m running into issues with the Twitter API. I’m using the free API access and as I understand it you need to upload the media via 1.1 and then post the tweet via 2.0. Based on my logs it looks like the media uploads successfully and then the script breaks when trying to tweet the post.