• Advertisement
Sign in to follow this  

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

This topic is 1797 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
Sign in to follow this  

  • Advertisement