Trboule with getting reviews using the JS API

TalkBug Collectors

Join LibraryThing to post.

Trboule with getting reviews using the JS API

This topic is currently marked as "dormant"—the last message is more than 90 days old. You can revive it by posting a reply.

1cvedovini
Aug 2, 2010, 4:55 pm

Hi,
I have a small issue with the JS API when trying to retrieve reviews for users (at least some of them) who don't have reviews (this is working perfectly for users with reviews).

Following is the kind of query I am using: http://www.librarything.com/api_getdata.php?resultsets=books%2Cbookratings%2Cboo...

This returns me an array of incomplete entries, like the following:
25324536 => Array
(
tags => Array
(
0 => software
1 => project estimation
2 => project planning
)

)

When I remove the parameter "showTags=1" it returns an empty array, as it should, but I miss the tag list when there are reviews.

Is this a bug or did I miss something?
Thanks for your help.
C.

2cvedovini
Aug 11, 2010, 10:56 am

Anybody there?

3timspalding
Aug 11, 2010, 12:14 pm

What are you doing this for? You aren't that user.

4cvedovini
Aug 17, 2010, 6:05 am

I am the guy with the application on Facebook , remember? I needed to give you an example with a profile that has no review so I picked up one at random :)

And I guess the comment in the other thread was indeed for this one?

5justjim
Aug 17, 2010, 6:53 am

That 'other thread' would be this one.

Just housekeeping, don't mind me. ;)

6cvedovini
Aug 22, 2010, 7:20 pm

Everybody's on vacation I guess :)

7timspalding
Aug 22, 2010, 11:01 pm

Back. Still a problem?

8cvedovini
Aug 23, 2010, 1:14 pm

I don't ask for a delivery date but I just would like to know if this issue will eventually be corrected or if I need to workaround?

Thanks,
C.

9AndrewB
Aug 24, 2010, 4:40 am

8>

Tim (the founder) posted in message 7 asking if it's still a problem - which I'm guessing it is, but it's obviously something he's aware of, he just needed to know if it was still an issue.

10cvedovini
Aug 25, 2010, 6:57 pm

@AndrewB there's no indication here that the problem was addressed, so why should it be solved? (and you just have to click the link in >1 cvedovini: to see it's not)

11cvedovini
Sep 1, 2010, 3:12 am

Looks like there is the same issue with a different kind of request, it might help to find out the problem: http://www.librarything.com/api_getdata.php?userid=swamiiyer&showTags=1&...