Goodreads Developers discussion
      bugs
      >
    user.friends invalid key/request
    
  
  
					date newest »
						  
						newest »
				
		 newest »
						  
						newest »
				 I am getting the same result.
      I am getting the same result. If we call it without the key parameter we get an "Invalid API" key message, after including the key parameter it returns a "not authorized message".
I've authenticated via oauth and it also doesn't work on the browser logged into the site.
Could the documentation be wrong or maybe there's a problem calling this function?
 Ahmed just wanted to let you know in case you don't get to see the other thread that Ettore indicated how to correctly access this api method. I tried it and it worked.
      Ahmed just wanted to let you know in case you don't get to see the other thread that Ettore indicated how to correctly access this api method. I tried it and it worked.Here's the thread.
https://www.goodreads.com/topic/show/...
 Thanks Yoly for following up here. This thread slipped through the cracks and we didn't reply. Sorry about that! Glad to know we found a workaround though.
      Thanks Yoly for following up here. This thread slipped through the cracks and we didn't reply. Sorry about that! Glad to know we found a workaround though.
     Sorry to bump this thread, I wasn't able to give Yoly's response a try until a few days ago as I was busy with other stuff, however when I did, I still get the same response.
      Sorry to bump this thread, I wasn't able to give Yoly's response a try until a few days ago as I was busy with other stuff, however when I did, I still get the same response.
     It doesn't work in the browser, but I just tested my code and it still works, it downloaded my list of friends.
      It doesn't work in the browser, but I just tested my code and it still works, it downloaded my list of friends.This is the URL I'm using to get my friends list:
https://www.goodreads.com/friend/user...
Are you making this call with the oauth headers? Also you don't need to specify the api key.
 I know you may not see this Yoly, but thank you! This request pattern works for me 2.5 years later :)
      I know you may not see this Yoly, but thank you! This request pattern works for me 2.5 years later :)
     HI, can anyone help me here
      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


 
However I always get an "Invalid API key", I tried changing the URL around after reading some of the posts here for this specific method and it didn't yield any better results