I don't have the app, so I provided the address to Postman https://www.postman.com/
I followed the instructions https://developer.themoviedb.org/reference/authentication-how-do-i-generate-a-session-id
I work through postman
https://api.themoviedb.org/3/account/###/favorite?api_key=###&session_id="####"
{
"media_type" : "movie",
"media_id" : 1184918,
"favorite": true
}
error Authentication failed: You do not have permissions to access the service
找不到电影或节目?登录并创建它吧。
Travis Bell 的回复
于 2024 年 10 月 29 日 12:59下午
Hi @Arman2000,
To start with, the URL you posted above has quotes in it, you should delete those.
Is what you should be using.
Arman2000 的回复
于 2024 年 10 月 30 日 12:46上午
the documentation says that session_id type String https://developer.themoviedb.org/reference/account-add-favorite
Thank you very much, it helped