Uploading Images (to Twitter, Instagram, or Tumblr)

Hey all, I was wondering if anyone out there knows how to upload an image through your app to Twitter, Instagram or Tumblr? It would be a picture you just created and edited within the app, not one that you’d be choosing from your pre-existing photo album.

Thanks for taking the time to read this!

Lex [import]uid: 68898 topic_id: 29114 reply_id: 329114[/import]

I don’t know about tumblr, but the other two have RESTful based API’s available for doing that. You would make HTTP GET or PUT requests using network.request() after you manged to get logged in. The twitter app in the sample code should get you started. I’ve never looked at the instagram API, but I know they have one and I assume it’s using oAuth to login like twitter does.

That said, there have been several threads on here where people have tried to get photo uploads to Twitter working without success. You might have more luck.
[import]uid: 19626 topic_id: 29114 reply_id: 117142[/import]

Thanks so much! Will definitely try to work it out that way. [import]uid: 68898 topic_id: 29114 reply_id: 117236[/import]