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
No trobeu una pel·lícula o una sèrie? Inicieu la sessió per a crear-la.
Desitgeu valorar o afegir aquest element a una llista?
No en sou membre?
Resposta per Travis Bell
el 29 e de 2024 a les 12:59 P.M.
Hi @Arman2000,
To start with, the URL you posted above has quotes in it, you should delete those.
Is what you should be using.
Resposta per Arman2000
el 30 e de 2024 a les 12:46 A.M.
the documentation says that session_id type String https://developer.themoviedb.org/reference/account-add-favorite
Thank you very much, it helped