The Movie Database Support

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]

2 replies (on page 1 of 1)

Jump to last post

Hi isidro2928,

When using append_to_response, the response gets appended to the response body as a new object keyed as the name of the append_to_response value. So in this case, a key named images. You need to access the inner objects of the images object.

Can you please show me an example? I will be very thankfull Im not good programing. Thanks

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login