Goodreads Developers discussion

13 views
questions > Not able to get data using user friend api

Comments Showing 1-3 of 3 (3 new)    post a comment »
dateDown arrow    newest »

message 1: by Piyush (last edited Aug 17, 2020 01:24AM) (new)

Piyush Jain | 9 comments https://www.goodreads.com/api/index#u... (I am using this api)
HI, can anyone help me here
when I am using
https://www.goodreads.com/friend/user...
this is format is mentioned in the doc and give unauthorized error

https://www.goodreads.com/friend/user...
This format i got from some comments but its also not working and gives
same unauthorized error as above

(I have changed the key which is incorrect so it may throw some other error that 401, but with correct key I am having 401 error [unauthorized])
Its not even working when I am logged in a browser with same user id (119425339).

it says not authorized

I just want a user friends list only so i am using "Get a user's friends" api from here
[#user.friends] api
https://www.goodreads.com/api/index#u...

AND I haven't yet done the authorization part
so please tell me for this task do i have to do oauth first and if then please also tell me how to establish oauth here (I am very new in oauth field and have checkout out the doc but its not working)

I am currently using api as curl
and I can apply oauth in php or can use AJAX with js/jquery as working on php/js project

please anyone help me here ASAP.

Q) AND In the "Get a user's friends" api, does the response contain 'email_id' of all the user friends. [email_id is mendatory to build a feature which i am working on if its not giving this attribute then i cannot use this api, so please let me know about this if you have any idea about this. ]

Thanks for help


message 2: by Ravi (new)

Ravi (goodreadscomuncertainp) | 17 comments https://www.goodreads.com/topic/show/...

Pls check, this is a known issue..


message 3: by Piyush (last edited Aug 17, 2020 04:54AM) (new)

Piyush Jain | 9 comments Hi Ravi
Thanks for your response and I have already checked this topic (along some others too) but the Ettore! solution is not working for me and as you can see I have already posted this qusetion in your shared topic as well in past (please check last comment https://www.goodreads.com/topic/show/...)

maybe this issue again arouse after a time as the shared post is approximately 5-6 years old.

please let me know the working solution.
Thanks


back to top