Has anyone had any luck integrating Twitpic's new OAuth Echo authentication into their iPhone application? This seemed t开发者_开发技巧o 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.
I updated http://github.com/jaanus/PlainOAuth with a working example for Twitpic upload powered by OAuth Echo.
Have you tried http://github.com/Gurpartap/GSTwitPicEngine ?
EDIT: I found the answer. It's in the post below.
Any news on this? This Post has the same problem: Having problems with uploading photos to TwitPic using OAuth in Objective C on the iPhone
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.)
精彩评论