תמיכת The Movie Database

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.

5 תגובות (בדף 1 מתוך 1)

Jump to last post

@cyberchrix said:
Can't remove favorite
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.

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

Thank you but this method concerns the lists that we have created and not the list of favorites...

Does anyone have an explanation please?

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.

Hi guys,

I'm not having any trouble using this code (as an example) to remove items from my favourite list:

curl --location 'https://api.themoviedb.org/3/account/ACCOUNT_ID/favorite?session_id=###&api_key=###' \
--header 'Content-Type: application/json' \
--data '{ "media_type": "movie", "media_id": 16, "favorite": false }'

I am getting the correct response:

{
    "success": true,
    "status_code": 13,
    "status_message": "The item/record was deleted successfully."
}

.לא מצאת סרט או סדרה? היכנס כדי ליצור אותם

עולמי

s התמקד בשורת החיפוש
p פתח תפריט פרופיל
esc סגור חלון פתוח
? פתח חלון קיצורי דרך של מקלדת

בדפי מדיה

b לך חזרה (או אל הורה אם ישים)
e לך אל דף עריכה

בדפי עונות

(חץ ימני) לך אל העונה הבאה
(חץ שמאלי) לך אל העונה הקודמת

בדפי סדרות

(חץ ימני) לך אל הפרק הבא
(חץ שמאלי) לך אל הפרק הקודם

בכל דפי תמונה

a פתח חלון הוספת תמונה

בכל דפי עריכה

t פתח בוחר תרגום
ctrl+ s הגש טופס

בדפי דיון

n צור דיון חדש
w עורר מעמד צפייה
p עורר ציבורי/פרטי
c עורר סגירה/פתיחה
a פתח פעילות
r השב אל דיון
l לך אל תשובה אחרונה
ctrl+ enter הגש את הודעתך
(חץ ימני) הדף הבא
(חץ שמאלי) הדף הקודם

הגדרות

?רוצה לדרג או להוסיף פריט אל רשימה

היכנס