Ok, this one might be useful for others as well. The application was
registered as a client instead of a browser app. My app is an iPhone
app but it uses the browser for the OAuth part, so it should have been
browser type. Created a new app with the type set to browser and it
works fine now.

On Jul 16, 2:52 pm, Meerlol <herman.mee...@gmail.com> wrote:
> Hi All,
> I'm desperately trying to migrate to the OAuth API before the 16th of
> august but the API is not working with me. The problem is a the
> request_token stage of the flow. Whenever I add a oauth_callback
> parameter to my request then the request fails with: "Failed to
> validate oauth signature and token". But I have no clue what I'm doing
> wrong. Maybe someone can see my error. Here is the needed info
> Method used: POST
> Signature base: POST&http%3A%2F%2Fapi.twitter.com%2Foauth
> %2Frequest_token&oauth_callback%3Dhttp%253A%252F%252Fmeerlo.com
> %252Ftest%26oauth_consumer_key%3DwWR1oJDLxIl5lqApKEVw%26oauth_nonce
> %3D1279283600-0%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp
> %3D1279283600%26oauth_token%3D%26oauth_version%3D1.0
> Authorization header:
> Authorization: OAuth oauth_callback="http%3A%2F%2Fmeerlo.com%2Ftest",
> oauth_consumer_key="wWR1oJDLxIl5lqApKEVw", oauth_nonce="1279283600-0",
> oauth_signature_method="HMAC-SHA1", oauth_timestamp="1279283600",
> oauth_token="", oauth_version="1.0",
> oauth_signature="8qOZv7mNLs8vfwnD8UplzW84Lh4%3D"
> I know that I can leave out the oauth_token but that makes no
> difference. Anyone got a clue?
> Regards,
> Herman

Reply via email to