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.
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by ticao2 š§š· pt-BR
on December 10, 2023 at 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
Reply by Chris
on December 10, 2023 at 10:33 AM
Thank you but this method concerns the lists that we have created and not the list of favorites...
Reply by Chris
on December 12, 2023 at 5:46 AM
Does anyone have an explanation please?
Reply by El_Coloniser
on July 14, 2024 at 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.
Reply by Travis Bell
on July 16, 2024 at 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: