You might have got the samples along with jscript libraries (eg
requestToken.html , authorize.html etc ). They are working fine .
Just replace the consumer keys and secrets with yours in consumer.js
One more change is add the 'oauth_verifier' field in accessToken.html (make
sure you trim the trailing whitespace while pasting the value)
The sample code provided in Ajax.html is also working fine and i verified
with some twitter methods

Good luck

On Tue, Jul 28, 2009 at 10:52 PM, Rock <vinoth.nit...@gmail.com> wrote:

> Hello All,
>  I am new to twitter development. I am developing a twitter client
> for Nokia S60 devices. I wanted to make use of OAuth sign in provided
> by twitter. I have my customer key and customer secret. However when i
> try to get the token i receive "Failed to validate oauth signature and
> token" message.
> Also i have come across oauth.js. Since i am new to javascript as well
> i feel bit difficult to track it. Is there any site which explains on
> how to use this script.
> My url to request token from twitter is as shown below.
> http://twitter.com/oauth/request_token?oauth_version=1.0&1248801338&cdxAC3T2J6Lro7&oauth_consumer_key=UoK2gkoRexTkoZy1fBvgg&oauth_signature_method=HMAC_SHA1&oauth_signature=d1AxaPrUbj6RsjXvHM0WkzGujsBz9k4HzFztlhVzbo
> Thanks in advance.

Reply via email to