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

One Comment on “Mysterious twitpic authentication problem fixed”

  1. Jane says:

    I have to thank you for sharing this kind of message.
    It’s really unexpected. To change the “POST” to “GET” to pass the authorization.
    I have been stuck here for a while. Anyway, thanks a lot again~~~


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s