Goodreads Developers discussion
user.friends issue
date
newest »
newest »
Hey Yoly, it looks like the docs are confusing and the server is being very picky about how api params are sent. We need to look into this further and make it better. I filed a ticket for this (IOS-2996).For the time being, can you try this workaround? Call the api with these params:
GET https://www.goodreads.com/friend/user
params:
id=USER_ID
format=xml
+ the same OAuth headers you're using. Obviously make sure to have the params as part of the signed content.
HI, can anyone help me here when I am using
https://www.goodreads.com/friend/user...
(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)
it says not authorized
I just want a user friends list only so i am using "Get a user's friends" api from here
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 currently using api as curl
and I can apply oauth in php as working on php/js project
please anyone help me here ASAP
Q) AND please also tell me can I get the response in json format rather than xml if yes then HOW please?
Q) AND In the "Get a user's friends" api, does the response contain 'email_id' of all the user friends.
Thanks for help



According to the documentation, the url we get a user's friends is :
https://www.goodreads.com/friend/user...
The sample Url provided on your documenatation lists the Url as:
https://www.goodreads.com/friend/user...
This returns a "Invalid API key" message.
If I add my key I get a: "not authorized" message.
I posted about this last week and haven't gotten a response, as I have seen with similar threads on the same issue.
I am calling this via oauth. I've tried it in the browser logged in into Goodreads and I get the same response as explained above.
I'm trying to see my own friends list so I don't think this is a permissions issue, also my profile is set to public.
Any ideas?
Thank you.