@Stonehedge here's the relevant bits of code. Might not mean the same out of context of the rest of the code?
tweetStr = "blah blah blah"
apiKey = '-'
apiSecret = '-'
accessToken = '-'
accessTokenSecret = '-'
api = Twython(apiKey,apiSecret,accessToken,accessTokenSecret)
video = open('5into15.mp4', 'rb')
response = api.upload_video(media=video, media_type='video/mp4')
It works/ fails intermittently.
© LFGSS, powered by microcosm.
Report a problem
London Fixed Gear and Single-Speed is a community of predominantly fixed gear and single-speed cyclists in and around London, UK.
This site is supported almost exclusively by donations. Please consider donating a small amount regularly.