I am creating a new android application, as soon as the user opens the app, the app will request a new guest session api. Then, the app will use this new api, to request the 'discover' movies. The response that I get from the servers is:
"status_message": "Invalid API key: You must be granted a valid key.",
"success": false,
"status_code": 7
Why am I getting this error? This error is solved when I use my original api to make the request....
Non riesci a trovare un film o una serie Tv? Accedi per crearlo.
Vuoi valutare o aggiungere quest'elemento a una lista?
Non sei un membro?
Risposta da Travis Bell
il 4 marzo, 2017 alle 12:24PM
Discover is only authenticated with your API key.
Guest sessions are for account related functionality. Even if/when you use a guest session feature, you'll still need to use your API key.
Risposta da Priyansh
il 5 marzo, 2017 alle 4:54AM
So what is the use of the guest session API??
Risposta da Travis Bell
il 5 marzo, 2017 alle 10:19AM
To have some account functionality without signing up for an account.
You can read more about this here: https://developers.themoviedb.org/3/getting-started/authentication