Have you considered OAuth 2 <http://oauth.net/2/>? It's simpler and easier 
to implement.

To implement OAuth 1.0, I recommend you use some existing software.  You'll 
find several alternatives at http://oauth.net/code/

I recommend you experiment with Google's OAuth 
playground<http://googlecodesamples.com/oauth_playground/>to see examples of 
correct requests.

I noticed some errors in the code ritesh posted.  The oauth_signature value 
is incorrect: it should be computed from the private key and all the other 
request parameters. This computation is complex and difficult to implement 
correctly.  Also, the datastring is incorrect: me.getKey() and 
me.getValue() should be URL encoded.

-- 


Reply via email to