OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Amazon announces changes to their API (0 viewing) 

MediaLibary Component Support

Go to bottom Favoured: 0

Amazon announces changes to their API

taghioff (Visitor)
Posts: 0
graphgraph
User Offline
Re:Amazon announces changes to their API 14 Years, 7 Months ago
Karma: 0  
Hi I followed the instructions (thanks) but I get the following error when I try and fetch book data from Amazon (Manage books> Refetch Data)



Warning: simplexml_load_file(ecs.amazonaws.com/onca/xml?AWSAccessKeyI...jf61oGg9HQZMILG0Y%3D) [function.simplexml-load-file]: failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden in /home/.sites/255/site1154/web/media-anthropology/administrator/components/com_booklibrary/admin.booklibrary.class.ws.php on line 303

Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity "ecs.amazonaws.com/onca/xml?AWSAccessKeyI...g9HQZMILG0Y%3D" in /home/.sites/255/site1154/web/media-anthropology/administrator/components/com_booklibrary/admin.booklibrary.class.ws.php on line 303

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/.sites/255/site1154/web/media-anthropology/administrator/components/com_booklibrary/admin.booklibrary.class.ws.php on line 306

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/.sites/255/site1154/web/media-anthropology/administrator/components/com_booklibrary/admin.booklibrary.class.ws.php on line 312

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/.sites/255/site1154/web/media-anthropology/administrator/components/com_booklibrary/admin.booklibrary.class.ws.php on line 328

Warning: Invalid argument supplied for foreach() in /home/.sites/255/site1154/web/media-anthropology/administrator/components/com_booklibrary/admin.booklibrary.class.ws.php on line 335

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/.sites/255/site1154/web/media-anthropology/administrator/components/com_booklibrary/admin.booklibrary.class.ws.php on line 342

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/.sites/255/site1154/web/media-anthropology/administrator/components/com_booklibrary/admin.booklibrary.class.ws.php on line 347

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/.sites/255/site1154/web/media-anthropology/administrator/components/com_booklibrary/admin.booklibrary.class.ws.php on line 352

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/.sites/255/site1154/web/media-anthropology/administrator/components/com_booklibrary/admin.booklibrary.class.ws.php on line 357

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/.sites/255/site1154/web/media-anthropology/administrator/components/com_booklibrary/admin.booklibrary.class.ws.php on line 362

Is there a problem with the file?
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8243
graph
User Offline Click here to see the profile of this user
Re:Amazon announces changes to their API 14 Years, 7 Months ago
Karma: 101  
Hi,

All look like for yours site closed open external URLs.

Please write request to yours host provider.
Logged Logged
The administrator has disabled public write access.
taghioff (Visitor)
Posts: 0
graphgraph
User Offline
Re:Amazon announces changes to their API 14 Years, 7 Months ago
Karma: 0  
Please could you list out the URLS called?

I asked the provider and they have a locked system where you have to specify the URLs called.

I looked inside the file you sent, and located the URL from the if else list for Amazon.com (which is what I will use).

- I found ecs.amazonaws.com/onca/xml is this correct?

But I get an error when fetching information "Bad Image Path File"

I suspect that there are calls being made to other URLs, so I wondered if you could list out all the URLS that the component will call to when using Amazon.com?

Or is it another problem?

Many thanks

Daniel
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8243
graph
User Offline Click here to see the profile of this user
Re:Amazon announces changes to their API 14 Years, 7 Months ago
Karma: 101  
Hi,

From Amazon - we also take cover images.

Urls for them look like:
ecx.images-amazon.com/images/I/218c4kzUJHL._SL160_.jpg
ecx.images-amazon.com/images/I/51ejYtpRykL._SL160_.jpg
ecx.images-amazon.com/images/I/51ZvFofTJSL._SL160_.jpg

For every book self URL. So you must open full "ecx.images-amazon.com" site.

But if you want - you can not take any info from Amazon. For that you must set "Fetch Information:" -> "On your own"

With respect,
Andrew
Logged Logged
The administrator has disabled public write access.
Go to top
»