With the developer key, I can retrieve information. But when I need to write data with 'oauth' as the API outlines, I get a 401 error. And I'm doing this while authenticated on my nodejs/express server. I can login with oauth fine and store the cookie in the browser. Here's an example:
This works fine: Get the books on a members shelf This doesn't: Add a book to a shelf or Get friend requests 401 error.. Is there anything else I have to do?
But when I need to write data with 'oauth' as the API outlines, I get a 401 error. And I'm doing this while authenticated on my nodejs/express server.
I can login with oauth fine and store the cookie in the browser.
Here's an example:
This works fine: Get the books on a members shelf
This doesn't: Add a book to a shelf or Get friend requests
401 error..
Is there anything else I have to do?
app.get('/api/friendrequests', async(req,res) => {
var friendreqs = await
axios.get('https://www.goodreads.com/friend/requ...
console.log(friendreqs+'friendreqs');
})