The Movie Database támogatás

I Try This https://developers.themoviedb.org/3/getting-started/append-to-response

in website https://api.themoviedb.org/3/movie/157336/videos?api_key=### it works

but get 404 in Java Android

this is the error message

{"status_code":34,"status_message":"The resource you requested could not be found."}

when i change to API http://api.themoviedb.org/3/movie/popular?api_key=### it works on my Java Android

Can somebody explain and how to solve this?

7 válasz érkezett (1 / 1 oldalból)

Jump to last post

Hi @topkek404 Take a look at your request and make sure there's no typos or anything. All of these requests work fine:

https://api.themoviedb.org/3/movie/157336?api_key=###
https://api.themoviedb.org/3/movie/157336/videos?api_key=###
https://api.themoviedb.org/3/movie/157336?api_key=###&append_to_response=videos

i have the same problem it works on the web but not in android

Hi @bensbiw You'll have to post some code. For code specific problems you'll usually have better luck asking at somewhere like Stack Overflow. That is unless someone familiar with Android/Java sees your problem wink

public static String getMovieTrailers(String id){

     String MOVIE_TRAILER = "https://api.themoviedb.org/3/movie/" +id + "/videos?api_key=" + API_KEY +"&append_to_response=videos" ;

    return MOVIE_TRAILER;
}

I am also facing same issue

@topkek404 said:

I Try This https://developers.themoviedb.org/3/getting-started/append-to-response

in website https://api.themoviedb.org/3/movie/157336/videos?api_key=### it works

but get 404 in Java Android

this is the error message

{"status_code":34,"status_message":"The resource you requested could not be found."}

when i change to API http://api.themoviedb.org/3/movie/popular?api_key=### it works on my Java Android

Can somebody explain and how to solve this?

I also facing same issue

I have the same issue, someone know what cause this?

Nem találsz egy filmet vagy egy sorozatot? Jelentkezz be és hozd létre.

Globális

s focus the search bar
p profil menü megnyitása
esc close an open window
? billentyűparancsok ablak megnyitása

Minden média oldalon

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

On TV season pages

(jobbra nyíl) ugrás a következő évadra
(balra nyíl) vissza az előző évadra

Tévéepizód oldalakon

(jobbra nyíl) ugrás a következő részre
(balra nyíl) vissza az előző részre

Minden kép oldalon

a kép hozzáadása ablak megnyitása

Minden szerkesztő oldalon

t fordítás választó megnyitása
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 ugrás az utolsó válaszhoz
ctrl+ enter submit your message
(jobbra nyíl) következő oldal
(balra nyíl) előző oldal

Beállítások

Want to rate or add this item to a list?

Bejelentkezés