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
Kan du inte hitta en film eller tv-serie? Logga in för att skapa den.
Vill du betygsätta denna artikel eller lägga till den i en lista?
Inte medlem?
Svar från Travis Bell
den 29 oktober 2024 vid 12:59 PM
Hi @Arman2000,
To start with, the URL you posted above has quotes in it, you should delete those.
Is what you should be using.
Svar från Arman2000
den 30 oktober 2024 vid 12:46 AM
the documentation says that session_id type String https://developer.themoviedb.org/reference/account-add-favorite
Thank you very much, it helped