پشتیبانی پایگاه داده‌ فیلم

i want to add my own review, i get session id, but again i cant add my review using api

7 پاسخ (در صفحه 1 از 1)

Jump to last post

@saida.humbataliyeva said:
post request for review
i want to add my own review, i get session id, but again i cant add my review using api

Where do you want to add?
In a movie from a personal list of yours?
Or in a movie with data here on the WEB available to everyone?

If you've already tried it, please post here the API Request you used.

Problems with API Request

In order for someone to help you with API Request questions,
it is critical that you post here the API Request you are sending to the TMDb server.
Remember to replace your Key with MY_KEY , YOUR_KEY , THE_KEY , or something like that.

Not the programming code/script you used to build the API Request.
But the API Request that is sent to the TMDb server.
Or the API Request you would like to send.

I want to add a movie that has publicly available data here on the WEB, I'm creating a movie app, users can add review to movie

@saida.humbataliyeva said:
I want to add a movie that has publicly available data here on the WEB,
I'm creating a movie app, users can add review to movie

I think you are talking about this type of review.
https://www.themoviedb.org/review/63a25604be6d88008cb15033
It is not possible to add on the TMDb website using the API.
See here what can be done using the API.
https://developers.themoviedb.org/3/getting-started/introduction
You will have to store your users' reviews on your server.

i have api key, i can get movies, details, but now, when i want to create session id, i get "status_message": "Invalid API key: You must be granted a valid key.", this error, how can i solve this problem?

@saida.humbataliyeva said:
i have api key, i can get movies, details, but now, when i want to create session id, i get "status_message":
"Invalid API key: You must be granted a valid key.",
this error, how can i solve this problem?

I've never used Token, so I don't know how this feature operates.
I can give you the following initial information.

TOKEN - Initial Information
In your profile you will find your API Read Access Token (v4 auth)
https://www.themoviedb.org/settings/api
And here you find the initial instructions.
https://developers.themoviedb.org/3/getting-started/authentication
https://developers.themoviedb.org/3/authentication/how-do-i-generate-a-session-id

And here some pages to test

TOKEN Test
You can use test scripts to see how all of this works.
All of this code is frontend only (inspect the source), so it's easy to see what's happening.
Start with v3_auth.html.

v3

v4

Token Issues
Some tips on how to do it.
https://www.themoviedb.org/talk/605cbdda8f26bc002a612929#605e51579a64350054ff8c63

https://api.themoviedb.org/3/movie/${movieId}/reviews?api_key=THE_KEY&guest_session_id=TOKEN_ID
from this i get {"status_code": 34, "status_message": "The resource you requested could not be found.", "success": false} error

@saida.humbataliyeva said:

https://api.themoviedb.org/3/movie/${movieId}/reviews?api_key=THE_KEY&guest_session_id=TOKEN_ID
from this i get {"status_code": 34, "status_message": "The resource you requested could not be found.", "success": false} error

It's not a good idea to show all users your API key.
The same goes for your TOKEN_ID.
I replaced both.

What is the Title, Link and/or ID of the movie you are asking for Reviews?

فیلم و نمایش تلویزیونی را نمی‌توانید پیدا کنید؟ به سیستم وارد شوید تا آن را ایجاد کنید.

Global

s تمرکز بر منوی جستجو
p منوی پروفایل باز شود
esc بستن پنجره باز
? پنجره میانبرهای صفحه‌کلید باز شود

در صفحات مدیا

b بازگشت به عقب (یا در صورت لزوم به منشا)
e برو به صفحه ویرایش

در صفحات فصل تلویزیونی

(فلش سمت راست) برو به فصل بعد
(پیکان سمت چپ) برو به نشست قبلی

در صفحات قسمت تلویزیونی

(فلش سمت راست) برو به قسمت بعد
(پیکان سمت چپ) برو به قسمت قبلی

در تمام صفحات تصویر

a پنجره افزودن تصویر باز شود

در تمام صفحات ویرایش

t انتخابگر ترجمه باز شود
ctrl+ s ثبت از

در صفحات بحث

n ایجاد بحث جدید
w تغییر وضعیت وضعیت تماشا
p تغییر وضعیت عمومی/خصوصی
c تغییر وضعیت بسته/باز
a گشایش صفحه فعالیت
r پاسخ به بحث
l برو به آخرین پاسخ
ctrl+ enter پیام خود را ثبت کنید
(فلش سمت راست) صفحه بعد
(پیکان سمت چپ) صفحه قبلی

تنظیمات

آیا می‌خواهید به این مورد امتیاز دهید یا به فهرست اضافه کنید؟

ورود