Skip to content

Post an Image with Python OAuth Library

I wanted to post an image to a Flickr Python library I’m writing, but was unable to find ANYthing on the web about posting an image via the Python OAuth library. @ryanmcgrath had the base of how to upload an image in his Twython library, but it wasn’t quite right because there were no oauth params being sent to Twitter. So, I finally cracked the case and made a breakthrough. Here you go, folks.

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *