前言:我不確定我是否明白你在這裏找到的具體內容,但我會分享我的發現。
我能夠檢索評論的iframe URL,並能夠在將它嵌入到.html頁面後看到評論iframe。我用下面的屬性來檢索iframe網址:
Operation=ItemLookup&
ItemId=1451648537&
ResponseGroup=Reviews&
TruncateReviewsAt="256"&
IncludeReviewsSummary="False"&
Version=2011-08-01 <= important: can't be less than this version
AssociateTag=<YourAssociateTag> <= required when using this version, can be anything (not verified by Amazon)
響應的相關部分:
<Item>
<ASIN>1451648537</ASIN>
<CustomerReviews>
<IFrameURL>http://www.amazon.com/reviews/iframe?akid=<YourAmazonKey>&alinkCode=xm2&asin=1451648537&atag=<YourAssociateTag>&exp=2012-01-06T02%3A10%3A38Z&summary=0&truncate=256&v=2&sig=kjWPue1N75%2FiI1hW67XYApWxnKeT2tlT%2FJ1rw4WLlUo%3D</IFrameURL>
<HasReviews>true</HasReviews>
</CustomerReviews>
</Item>
請注意,您將無法使用這個iframe網址由於事實(1)我刪除了用於創建簽名的Amazon Key和Associate Tag,並且(2)在呼叫後24小時到期。
如果您使用我已使用的相同屬性,請密切關注Version
和AssociateTag
字段,您將得到一個包含iframe URL的結果。
我再嵌入的URL的iframe:
<html>
<body>
<iframe src="http://www.amazon.com/reviews/iframe?akid=<YourAmazonKey>&alinkCode=xm2&asin=1451648537&atag=<YourAssociateTag>&exp=2012-01-06T02%3A10%3A38Z&summary=0&truncate=256&v=2&sig=kjWPue1N75%2FiI1hW67XYApWxnKeT2tlT%2FJ1rw4WLlUo%3D"/>
</body>
</html>
看起來像如下:
正如我在序言中說,我不能確定這是什麼您正在尋找因爲該獎金的要求是:
...獲得訪問amazons reviewrank信息
這是不完全的審查等級信息,但實際的評論,我採取的審覈等級信息的意思是沿着數據本身(如100條評論@ 4星等的線條更)。然而,在你的問題你說,iframe沒有工作:
但是,他們建議使用參數進行測試,以獲得iframe,但現在看來,即使iframe不再工作。
所以我認爲我至少會爲您提供獲取和使用iframe的正確方法。
另請參閱此主題開始2011年12月31日在AWS論壇https://forums.aws.amazon.com/thread.jspa?threadID=83878&tstart=0它確認您所描述的內容。也許看那個線程飼料?在Amazon網站上可能不會有任何關於競爭對手API的文章。也許別的東西可以幫助你,但我希望... – 2012-01-02 13:17:17
這是他們的聲明,他們通知他們打算刪除評分。 https://affiliate-program.amazon.com/gp/advertising/api/detail/api-changes.html'選擇要素響應組中的元素正在被刪除: 總反饋頁面,總體反饋,平均評分' – Chloe 2015-03-29 00:39:39