Sign in to follow this  
Starfox

Posting photos to Tumblr using C[++], libcurl and liboauth

Recommended Posts

I'm trying to create Tumblr posts from a C++ app using libcurl and liboauth. I've managed to sign GET / POST requests properly and text posts are possible, but I can't seem to get it to accept a photo post. I keep getting either 401 Not Authorized or 400 with an "Error uploading photo." message. My code can be seen at https://gist.github.com/sherief/5233271 - any ideas?

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this