Hi, does someone no why when i make a request to TMDB from wordpress I got [object], [oblect]? that only hapen in images, videos, cast, languages, and genres.
heres the some code:
http://api.themoviedb.org/3/movie/"+imdbLink+"?api_key=###&append_to_response=images
I when i try call the value i use this field: file_path but does not work. And when i use the field images it works but just return [boject], [object]
Etkö löydä elokuvaa tai TV-ohjelmaa? Kirjaudu sisään lisätäksesi se.
Haluatko pisteyttää vai lisätä tämän nimikkeen listaan?
Ei rekisteröitynyt jäsen?
Vastaus käyttäjältä Travis Bell
13 huhtikuu 2015 klo 6:43PM
Hi isidro2928,
When using
append_to_response
, the response gets appended to the response body as a new object keyed as the name of theappend_to_response
value. So in this case, a key namedimages
. You need to access the inner objects of theimages
object.Vastaus käyttäjältä isidro2928
13 huhtikuu 2015 klo 6:54PM
Can you please show me an example? I will be very thankfull Im not good programing. Thanks