Hello -

I am totally new to developing apps that interact with twitter. I've
registered my app, and need to get the request token back. This is my
request followed by the exception I am getting. Is there something
obvious I am missing? Is there a way to test if the request header I
am using is OK without going through Java?

URL:

POST&http%3A%2F%2Fapi.twitter.com%2Foauth
%2Frequest_token&oauth_callback%3Dhttp%253A%252F
%252Ftwitterandrsstool.newsonline.tc.nca.bbc.co.uk%252Fmodule%252Findex
%252Fid%252Ftwitter%26oauth_consumer_key%<key>%26oauth_nonce
%3D2291055965%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp
%3D1300958650%26oauth_version%3D1.0

Caught exception while processing exchange.
org.scribe.exceptions.OAuthSignatureException: Error while signing
string: POST&http%3A%2F%2Fapi.twitter.com%2Foauth
%2Frequest_token&oauth_callback%3Dhttp%253A%252F
%252Ftwitterandrsstool.newsonline.tc.nca.bbc.co.uk%252Fmodule%252Findex
%252Fid%252Ftwitter%26oauth_consumer_key%3DY0IEquvycU78XevEc16UhQ
%26oauth_nonce%3D2291055965%26oauth_signature_method%3DHMAC-
SHA1%26oauth_timestamp%3D1300958650%26oauth_version%3D1.0
        at
org.scribe.services.HMACSha1SignatureService.getSignature(HMACSha1SignatureService.java:
37)
        at
org.scribe.oauth.OAuth10aServiceImpl.getSignature(OAuth10aServiceImpl.java:
108)
        at
org.scribe.oauth.OAuth10aServiceImpl.addOAuthParams(OAuth10aServiceImpl.java:
54)
        at
org.scribe.oauth.OAuth10aServiceImpl.getRequestToken(OAuth10aServiceImpl.java:
39)

(Have tried with Scribe and Twitter4j)

Any advice/suggestions very greatfully received!

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk

Reply via email to