Hi,
We are setting up, my first time, an Oauth connection with Twitter
from Oracle's Siebel.
But we are consistently getting a 401 unauthorized return when sending
the HTTP Transport Service request (a Siebel utility).
This is what I am doing:
-- Consumer Key and Secret are random test values
When I try to use OAuth to authorization, I receive a response 401
Unauthorized.
Here is source code.
http://bokenasu.dyndns.org/repos/ktoa.py
(I using RequestToken and TokenStorage class.)
What's the problem? Please show me why authorization fails.
Chances are your signing if incorrect. You might want to check out this
existing OAuth library [1] for python.
Even if you don't use it, check out the source to see how it goes about
signing. I have used this library
with success. If you have any questions about it, I can probably help there.