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....
لم تجد الفلم أو المسلسل ؟ سجل دخولك و انشئها
هل تريد تقييم او اضافة هذا العنصر للقائمة؟
لست عضو؟
رد بواسطة Travis Bell
بتاريخ مارس 4, 2017 في 12:24 مساءا
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.
رد بواسطة Priyansh
بتاريخ مارس 5, 2017 في 4:54 صباحا
So what is the use of the guest session API??
رد بواسطة Travis Bell
بتاريخ مارس 5, 2017 في 10:19 صباحا
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