views:

799

answers:

2

Has anyone had any luck integrating Twitpic's new OAuth Echo authentication into their iPhone application? This seemed to be a simple task but it's not getting done. I keep getting 400 or 401 errors.

This is also being discussed here: OAuth Echo problems

p.s. I'm using Ben Gottlieb's Twitter-OAuth library.

A: 

EDIT: I found the answer. It's in the post below.

Any news on this? This Post has the same problem: http://stackoverflow.com/questions/2959490/having-problems-with-uploading-photos-to-twitpic-using-oauth-in-objective-c-on-th

In the mentioned mailing list they say

Rich, thanks so much.. my issue ended up being that I was signing my OAuth Echo header as a POST request (because my request is a POST to twitpic), not GET.

I tried this but still 401 :P

Anbody got this working? (I have to admit I am a total noob with this stuff. I too got Ben Gottlieb's Twitter-OAuth library and it works fine.)

david
I've had no luck with this, so it's on hold for now. I'll look into this in a couple of days, and will post back.
Mustafa
+2  A: 

I updated http://github.com/jaanus/PlainOAuth with a working example for Twitpic upload powered by OAuth Echo.

Jaanus
Thanks for sharing.
Mustafa