Re: [twitter-dev] Re: [API Tweetr] Invalid input PIN code.

2010-05-17 Thread Taylor Singletary
Hi Z-13,

Some recommendations first:

  * When performing the OAuth token negotiation operations, it's
recommended to use SSL and the hostname api.twitter.com.
https://api.twitter.com/oauth/access_token
  * It's much easier to debug OAuth when you use HTTP headers to
transmit the OAuth parameters rather than using them on the query
string.

Some specific areas that might be giving you trouble:
  * The access_token endpoint doesn't take an oauth_callback -- you
provide that value on the request_token step, we take note of it, and
present the PIN code flow after you've sent the user to our authorize
end point. You should not have an oauth_callback value on the access
token step.
  * Consider using a more robust oauth_nonce than a numerical sequence.

If you're still having problems, please post an example signature base
string you are generating for this step and we'll see if there's
something else going on.

Thanks,
Taylor Singletary
Developer Advocate, Twitter
http://twitter.com/episod



On Mon, May 17, 2010 at 1:03 PM, Z-13  wrote:
> Help me, please!
>


[twitter-dev] Re: [API Tweetr] Invalid input PIN code.

2010-05-17 Thread Z-13
Help me, please!


[twitter-dev] Re: [API Tweetr] Invalid input PIN code.

2010-05-15 Thread Z-13
Link error without "http://":
twitter.com/oauth/access_token?
oauth_callback=oob&oauth_consumer_key=MY_CONSUMER_KEY&oauth_nonce=82034&oauth_signature_method=HMAC-
SHA1&oauth_timestamp=1273908737&oauth_token=MY_OAUTH_TOKEN&oauth_verifier=333&oauth_version=1.0&oauth_signature=MY_OAUTH_SIGNATURE