I'm currently using the API for an iPhone app I'm developing. An overview there Mooviz
I'm having a problem deleting a movie from favorites. I can add it but I can't remove it. I use the call below :
POST https://api.themoviedb.org/3/account/19479604/favorite?api_key=##API_KEY##&session_id=##SESSION_ID##
With the body:
{ "media_type" : "movie", "media_id" : 726209, "favorite": false }
I have the response below:
{ "success": true, "status_code": 12, "status_message": "The item/record was updated successfully." }
But the movie has not been removed from favorites ... Is there a bug in the API ? Thanks for your help.
Nu găsiți un film sau un serial? Autentificați-vă pentru a-l crea.
Doriți să evaluați sau să adăugați acest articol într-o listă?
Nu sunteți membru?
Răspuns de ticao2 🇧🇷 pt-BR
pe data de 10 decembrie 2023 la ora 9:45 AM
I am not a TOKEN user.
But I think maybe you need to use v4 and not v3.
Remove Items
https://developer.themoviedb.org/v4/reference/list-remove-items
Răspuns de Chris
pe data de 10 decembrie 2023 la ora 10:33 AM
Thank you but this method concerns the lists that we have created and not the list of favorites...
Răspuns de Chris
pe data de 12 decembrie 2023 la ora 5:46 AM
Does anyone have an explanation please?
Răspuns de El_Coloniser
pe data de 14 iulie 2024 la ora 12:12 AM
I don't know what causes this, but I found you can remove an item from favourites if you try it from the items unique overview page rather than any personal list or favourites page.
Răspuns de Travis Bell
pe data de 16 iulie 2024 la ora 11:11 AM
Hi guys,
I'm not having any trouble using this code (as an example) to remove items from my favourite list:
I am getting the correct response: