دعم الموقع

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 أرسل رسالتك
(السهم الايمن) الصفحة التالية
(السهم الايسر) الصفحة السابقة

الاعدادات

هل تريد تقييم او اضافة هذا العنصر للقائمة؟

تسجيل الدخول