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 的回复
于 2017 年 03 月 04 日 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 的回复
于 2017 年 03 月 05 日 4:54上午
So what is the use of the guest session API??
Travis Bell 的回复
于 2017 年 03 月 05 日 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