goodreads-api-node
goodreads-api-node copied to clipboard
Getting `Invalid OAuth Request` when calling `getAccessToken`
When I call getAccessToken
, I get the error Invalid OAuth Request
from the Goodreads API.
Could someone verify if it's still possible to use this Node library with Goodreads OAuth?
Same result for me...
I've been able to use getAccessToken successfully and authenticate with Goodreads. There was a few things I needed to adjust though to get it to work.
I've been able to use getAccessToken successfully and authenticate with Goodreads. There was a few things I needed to adjust though to get it to work.
could you please share which types of changes required?
@dhaval2060, the changes I remember were I had to use the below method for initOAuth because the other one didn't work and my localhost server needed to be HTTPS which I used https-localhost for.
const gr = goodreads(myCredentials);
gr.initOAuth(callbackURL);
Here's my server.js file if that helps further.