Hi,
This weekend my website suddenly stopped displaying all images (posters and backdrops) and it turns out to be a problem with adding the &api_key= suffix to the image url. I've always suffixed the api_key which I think used to be required:
http://image.tmdb.org/t/p/w185/e6nQFLsLP60Erv41JE4QrsEgJbI.jpg&api_key={myApiKey}
This now fails and I need to remove the api key... is this a recent change or perhaps an error?
Thanks Tony
Nu găsiți un film sau un serial? Autentificați-vă pentru a-l crea.
Doriți să evaluați sau să adăugați acest element într-o listă?
Nu eşti membru?
Răspuns de Travis Bell
pe data de 25 octombrie 2016 la ora 10:07AM
Hi Tony,
Images never required an API key but we did start enforcing some stricter URI filtering because of some bad clients that were hammering our image service with bad requests (> 1000 requests per second to images that don't exist).
If you remove the API key from your requests OR, correctly call the URL like so:
You should be good to go.