Ulrich
43p72 comments posted · 2 followers · following 0
9 hours ago @ Ulrich Mierendorff... - Amazon® AWS HMAC s... · 0 replies · +1 points
In addtion, do not forget to implement caching, so that frequent accesses to certain pages do not result in the same API requests over and over again.
12 weeks ago @ Ulrich Mierendorff... - Amazon® AWS HMAC s... · 1 reply · +2 points
12 weeks ago @ Ulrich Mierendorff... - Amazon® AWS HMAC s... · 0 replies · +2 points
14 weeks ago @ Ulrich Mierendorff... - Amazon® AWS HMAC s... · 0 replies · +1 points
14 weeks ago @ Ulrich Mierendorff... - Amazon® AWS HMAC s... · 0 replies · +1 points
14 weeks ago @ Ulrich Mierendorff... - Amazon® AWS HMAC s... · 0 replies · +2 points
1. Replace
$host = "ecs.amazonaws.".$region;
with
$host = 'webservices.amazon.'.$region;
2. Replace
$params["Version"] = "2009-03-31";
with
$params["Version"] = "2011-08-01";
3. Make sure that you add a parameter named "AssociateTag" with your Amazon Associate Tag as the value to your list of parameters for each request.
With these modifications it should continue to work. I will soon upload an updated version of the script.
14 weeks ago @ Ulrich Mierendorff... - Amazon® AWS HMAC s... · 0 replies · +1 points
14 weeks ago @ Ulrich Mierendorff... - Amazon® AWS HMAC s... · 0 replies · +1 points
Regarding the private key: I think this is the correct way to construct the key. Just try if it works. If not, it could be possible that you got multiple private/public key pairs from Amazon and that this was the wrong one.
23 weeks ago @ Ulrich Mierendorff... - Amazon® AWS HMAC s... · 0 replies · +1 points
23 weeks ago @ Ulrich Mierendorff... - Amazon® AWS HMAC s... · 0 replies · +1 points
Does this work for you?
Invention