Can anybody help me I am fetching movie logos but all I get in return is movies in random foreign languages even with my link specifying language = en -US
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 articol într-o listă?
Nu sunteți membru?
Răspuns de ticao2 🇧🇷 pt-BR
pe data de 30 august 2024 la ora 8:43 AM
You need to give more details about the problem.
Where and how did you make your API Request?
Problems with API Request
In order for someone to help you with API Request questions,
it is critical that you post here the API Request you are sending to the TMDb server.
Remember to replace your Key with MY_KEY , YOUR_KEY , THE_KEY , or something like that.
Not the programming code/script you used to build the API Request.
But the API Request that is sent to the TMDb server.
Or the API Request you would like to send.
Răspuns de Mrtravis
pe data de 31 august 2024 la ora 12:54 AM
in the app that I am building when I use a link to fetch movie logos they are in random languages
Răspuns de ticao2 🇧🇷 pt-BR
pe data de 31 august 2024 la ora 7:24 AM
What we need to see posted here is this "link to fetch movie logos".
Răspuns de Mrtravis
pe data de 31 august 2024 la ora 10:48 PM
https://image.tmdb.org/t/p/w300${movie.logo_path}
https://api.themoviedb.org/3/movie/${movieId}/images?api_key=${apiKey}
here are 2 the main one is the second one
Răspuns de ticao2 🇧🇷 pt-BR
pe data de 31 august 2024 la ora 11:14 PM
It is working correctly.
Try opening it in a tab in your browser.
Logo
https://image.tmdb.org/t/p/original/2LnOk1tYpDpciqkP6QSh7AD7vOd.png
https://image.tmdb.org/t/p/w300/2LnOk1tYpDpciqkP6QSh7AD7vOd.png
https://image.tmdb.org/t/p/original/nK0QOZq8QnIg3DnBROkvCU7z8L8.png
https://image.tmdb.org/t/p/w300/nK0QOZq8QnIg3DnBROkvCU7z8L8.png
Poster
https://image.tmdb.org/t/p/original/adWdXBdXJeCafIS1YtyYkZz6dsK.jpg
See instructions here. Read carefully.
https://developer.themoviedb.org/reference/movie-images
You need to use the &include_image_language= parameter.
Specify the languages you want.
Example from the movie Spartacus (1960)
https://www.themoviedb.org/movie/967-spartacus