node-amazon-reviews icon indicating copy to clipboard operation
node-amazon-reviews copied to clipboard

I can't get ReviewIds

Open JuanCrg90 opened this issue 10 years ago • 4 comments

Hi, i try to use your module, i made many test with differents ASIN (ProductId) but all the test return an empty array

I use this ASIN ids:

  • B002WB2G9I
  • B00005IBXJ
  • B0031KVY1K

My code is this:

var AmazonReviews = require('amazon-reviews');
AmazonReviews.getReviewIds({
productId: 'B0031KVY1K'
}, function(err, reviewIds) {
if(err){
console.log("error",err);
}
console.log("ReviewsId",reviewIds);
});

I don't have experience with coffee script, can you help me, i don't know if i'm doing a bad use of the function.

Regards.

JuanCrg90 avatar Mar 26 '15 01:03 JuanCrg90

@xissy :my program running on V0.12.6 has the same result as @JuanCrg90, no error information, but return empty array of reviewIds. But is the reviewIds truly a string type? Is there anything we miss for applying this modules?

Thanks and BR. Lee

federerlee avatar Aug 28 '15 15:08 federerlee

+1 same issue

joshmmo avatar Oct 07 '15 19:10 joshmmo

So I have looked into the issue a bit more, looks like the structure of the reviews page has changes a bit. I updated some IDs and a few other fixes and I am now able to pull the IDs of the first page.

Looks like the pagination changed quite a bit so that is going to require more work. I'll post again when I have something useful.

Here is my fork with what I have so far: https://github.com/joshmmo/node-amazon-reviews

joshmmo avatar Oct 07 '15 21:10 joshmmo

@joshmmo

Have you looked into the pagination yet? I would like to help if thats possible!

Cheers, Tony

TonyWael avatar Mar 15 '16 09:03 TonyWael