Mysterious twitpic authentication problem fixed

Error 401 from twitpic “Could not authenticate you (header rejected by twitter).”

Thanks to http://shkspr.mobi/blog/index.php/2010/05/howto-twitpic-and-oauth/ and i found that the OAuth header must be created with “GET” even though the request to twitpic is sent as a “POST”. That was unexpected and it probably would have taken me quite a while to find this just going by the documentation.

Advertisements