Hi there, I have an issue with my API Key. If I search a movie, e.g. http://api.themoviedb.org/3/search/movie?query=#{title}&api_key=#{API_KEY} everythings works fine. But if I try to fetch a movie by id http://api.themoviedb.org/3/movie/#{movie_id}&api_key=#{API_KEY} I get a 401 Unauthorized Error And in the Browser I get: { "status_code": 7, "status_message": "Invalid API key - You must be granted a valid key" }
Δεν μπορείτε να βρείτε κάποια ταινία ή σειρά; Συνδεθείτε για να τη δημιουργήσετε.
Θέλετε να αξιολογήσετε ή να προσθέσετε αυτό το στοιχείο σε μια λίστα;
Δεν είσαι μέλος;
Απάντηση από τον/την Travis Bell
στις 7 Οκτώβριος 2013 στις 10:28 ΕΊΜΑΙ
Hi jensitus,
Your first HTTP parameter must be called with a question mark, not an ampersand.
Cheers.
Απάντηση από τον/την jensitus
στις 7 Οκτώβριος 2013 στις 11:40 ΕΊΜΑΙ
Jesus, you're right. I'm stupid. Thank you.