Jump to content

Invoking Access token API


Recommended Posts

Hi Team,

I am integrating evernote api with my application where I am using oauth for authenticating using evernote oauth api. as per the documentation I have followed all the steps and specifications to invoke the api. I am able to invoke the temp token api and also able to redirect the user to authorize. after authorization, when i get call back, I am invoking the access token api using the same approach as the temp token api but I am getting 400 error. Is there anything which I am missing while sending the access token request?

is there any other parameter required to invoke the api?

is there any specific format or sequence to follow for parameters while calling the api?

 

base string for signature creation
GET&https%3A%2F%2Fsandbox.evernote.com%2Foauth&oauth_consumer_key%3Dkingjyoti11-2543%26oauth_nonce%3D-1272172357%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1609846136%26oauth_token%3Dkingjyoti11-2543.176D24DD3F4.68747470733A2F2F617069312E73796E61636F722E746B3A33313434332F736572766963652F657874656E73696F6E2F6F61757468322F61757468656E7469636174652F657665726E6F74653F73746174653D65776F6749434A306558426C4969413649434A756232397749677039.7AAE036E6953431B1A6B52095C3F51D6%26oauth_verifier%3DA9B4C05024BA8FCC61A893236284A085%26oauth_version%3D1.0

oauthSignature
04VB/s8yawEXhDedhL9kSWcmx1U=

access token Url
https://sandbox.evernote.com/oauth?oauth_consumer_key=kingjyoti11-2543&oauth_nonce=-1272172357&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1609846136&oauth_token=kingjyoti11-2543.176D24DD3F4.68747470733A2F2F617069312E73796E61636F722E746B3A33313434332F736572766963652F657874656E73696F6E2F6F61757468322F61757468656E7469636174652F657665726E6F74653F73746174653D65776F6749434A306558426C4969413649434A756232397749677039.7AAE036E6953431B1A6B52095C3F51D6&oauth_verifier=A9B4C05024BA8FCC61A893236284A085&oauth_version=1.0&oauth_signature=04VB%2Fs8yawEXhDedhL9kSWcmx1U%3D

Kindly help me with this issue.

 

Thanks

Jyotiranjan Jena

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...