دعم الموقع

Hi. When get this film with the API with extended reviews attribute there is no result with empty branch. That is movie.reviews = [] ID=782 (Gattaca)

5 ردود (على هذه الصفحة 1 من 1)

Jump to last post

@gcsantiago said:

Hi. When get this film with the API with extended reviews attribute there is no result with empty branch. That is movie.reviews = [] ID=782 (Gattaca)

Because all mayor movies works as spected, I've originally post this on the film itself but I've been called to attention to publish it here.

Hi Gustavo,

There aren't any reviews to added to Gattaca, so that would be why it's not returning anything.

https://www.themoviedb.org/movie/782-gattaca/reviews

Reviews are not a super popular feature on TMDb, so many movies don't have one.

@travisbell said:

Hi Gustavo,

There aren't any reviews to added to Gattaca, so that would be why it's not returning anything.

https://www.themoviedb.org/movie/782-gattaca/reviews

Reviews are not a super popular feature on TMDb, so many movies don't have one.

Hello Travis,

Yes, I saw that, but I report it because in the mayority of the movies the API return reviews:{page:1,results:[],total...} but in this case don´t return anything (reviews = undefined), so I think it is a posible bug. This occurs that day. I've trying today and the result was ok. Thanks

Hi Gustavo,

I'm not sure if I follow. Here's the response from Gataca:

travisbell$ curl -v "https://api.themoviedb.org/3/movie/782/reviews?api_key=###"
*   Trying 54.243.67.237...
* TCP_NODELAY set
* Connected to api.themoviedb.org (54.243.67.237) port 443 (#0)
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
* Server certificate: *.themoviedb.org
* Server certificate: RapidSSL SHA256 CA
* Server certificate: GeoTrust Global CA
> GET /3/movie/782/reviews?api_key=### HTTP/1.1
> Host: api.themoviedb.org
> User-Agent: curl/7.54.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Access-Control-Allow-Origin: *
< Access-Control-Expose-Headers: ETag, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, Retry-After
< Cache-Control: public, max-age=28800
< Content-Type: application/json;charset=utf-8
< Date: Mon, 27 Nov 2017 18:50:33 GMT
< ETag: "1cbd46fad73914c7d2a8962fb0d782eb"
< Server: openresty
< X-Memc: HIT
< X-Memc-Age: 26632
< X-Memc-Expires: 2168
< X-Memc-Key: 550ec630d9c7c878f1ac4785cf405295
< Content-Length: 66
< Connection: keep-alive
<
* Connection #0 to host api.themoviedb.org left intact
{
  "id": 782,
  "page": 1,
  "results": [],
  "total_pages": 0,
  "total_results": 0
}

That looks correct to me. What are you expecting it to return?

@travisbell said:

Hi Gustavo,

I'm not sure if I follow. Here's the response from Gataca:

travisbell$ curl -v "https://api.themoviedb.org/3/movie/782/reviews?api_key=###"
*   Trying 54.243.67.237...
* TCP_NODELAY set
* Connected to api.themoviedb.org (54.243.67.237) port 443 (#0)
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
* Server certificate: *.themoviedb.org
* Server certificate: RapidSSL SHA256 CA
* Server certificate: GeoTrust Global CA
> GET /3/movie/782/reviews?api_key=### HTTP/1.1
> Host: api.themoviedb.org
> User-Agent: curl/7.54.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Access-Control-Allow-Origin: *
< Access-Control-Expose-Headers: ETag, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, Retry-After
< Cache-Control: public, max-age=28800
< Content-Type: application/json;charset=utf-8
< Date: Mon, 27 Nov 2017 18:50:33 GMT
< ETag: "1cbd46fad73914c7d2a8962fb0d782eb"
< Server: openresty
< X-Memc: HIT
< X-Memc-Age: 26632
< X-Memc-Expires: 2168
< X-Memc-Key: 550ec630d9c7c878f1ac4785cf405295
< Content-Length: 66
< Connection: keep-alive
<
* Connection #0 to host api.themoviedb.org left intact
{
  "id": 782,
  "page": 1,
  "results": [],
  "total_pages": 0,
  "total_results": 0
}

That looks correct to me. What are you expecting it to return?

Hi Travis,

Yes , today is perfect and correct as should be... for some reason when i report it the result was empty for that movie... dont worry if i experiment the same again will contact you with the logs !

Regards!

لم تجد الفلم أو المسلسل ؟ سجل دخولك و انشئها

عام

s ركز شريط البحث
p افتح قائمة الملف الشخصي
esc اغلق النافذة المفتوحة
? افتح نافذة اختصارات لوحة المفاتيح

على كافة صفحات الوسائط

b ارجع للخلف (او للصفحة الام عند التطبيق)
e انتقل لصفحة التعديل

على كافة صفحات موسم المسلسل

(السهم الايمن) انتقل للموسم التالي
(السهم الايسر) انتقل للموسم السابق

على كافة صفحات حلقة المسلسل

(السهم الايمن) انتقل للحلقة التالية
(السهم الايسر) انتقل للحلقة السابقة

على كافة صفحات الصور

a افتح صفحة اضافة الصورة

على كافة صفحات التعديل

t افتح محدد الترجمة
ctrl+ s ارسال النموذج

على صفحات المناقشة

n انشى نقاش جديد
w تبديل حالة المتابعة
p تبديل عام / خاص
c تبديل اغلاق / فتح
a افتح الانشطة
r رد على النقاش
l انتقل لأخر رد
ctrl+ enter أرسل رسالتك
(السهم الايمن) الصفحة التالية
(السهم الايسر) الصفحة السابقة

الاعدادات

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

تسجيل الدخول