Hello, vipervin.
The 0s are in the iframe source that is returned by the Amazon Product Advertising API. The reviews page is loaded into an iframe directly from the Amazon Product Advertising API and is not at all processed by the plugin. The plugin retrieves only the iframe URL from the Product Advertising API.
As far as I have been able to determine, there’s nothing the plugin does that would cause the 0s or enable it to remove the 0s. However, I will research it and keep an eye out for solutions if there are any.
Thanks for using ScrapeAZon.
James
Hi James, is your own instance of the plugin displaying the 0? Or do you know if other users see the same issue? I’m wondering what on Amazon’s side could be causing this issue.
Thanks.
Vin
Hello, vipervin.
Yes, the 0s are being returned on my installation as well. All the reviews data in the iframe is returned directly from Amazon’s API Web servers and is not parsed at all by the plugin. If you paste the iframe’s SRC URL directly into a browser’s location bar (thereby bypassing the plugin completely), you get the same results.
Let me know if I can be of further assistance.
Thanks.
James
Hello, vipervin.
Just to be absolutely sure, I tested using Amazon’s Product Advertising API ScratchPad to generate a reviews request (instead of using the ScrapeAZon plugin). The resulting iframe URL, when pasted into a browser’s location bar, returned reviews that were appended with 0s.
The Amazon API Scratchpad is here:
http://associates-amazon.s3.amazonaws.com/scratchpad/index.html
To use it, fill in the Authentication fields with your Associate Tab, Access Key, and Secret Key. Select your API region (webservices.amazon.com is what I used), then select ItemLookup as the Operation. Paste your ASIN into the ItemID field, select ASIN as IdType, and select Reviews as the Response Group. FInally, click Run Request.
On the Response tab, you’ll see the XML response that Amazon returns based on your parameters. If you copy the URL included in that response (beginning with http and probably ending with a %3D) and paste it into a Web browser, you’ll get the page of reviews associated with the product ASIN you provided.
Thanks and let me know if I can be of further assistance.
James
Marking this issue as resolved because the 0s are returned by the API, not by the plugin.