Soporte de The Movie Database

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

7 respuestas (en la página 1 de 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?

¿No encuentras una película o serie? Inicia sesión para crearla:

Global

s centrar la barra de búsqueda
p abrir menú de perfil
esc cierra una ventana abierta
? abrir la ventana de atajos del teclado

En las páginas multimedia

b retrocede (o a padre cuando sea aplicable)
e ir a la página de edición

En las páginas de temporada de televisión

(flecha derecha) ir a la temporada siguiente
(flecha izquierda) ir a la temporada anterior

En las páginas de episodio de televisión

(flecha derecha) ir al episodio siguiente
(flecha izquierda) ir al episodio anterior

En todas las páginas de imágenes

a abrir la ventana de añadir imagen

En todas las páginas de edición

t abrir la sección de traducción
ctrl+ s enviar formulario

En las páginas de discusión

n crear nueva discusión
w cambiar el estado de visualización
p cambiar público/privado
c cambiar cerrar/abrir
a abrir actividad
r responder a la discusión
l ir a la última respuesta
ctrl+ enter enviar tu mensaje
(flecha derecha) página siguiente
(flecha izquierda) página anterior

Configuraciones

¿Quieres puntuar o añadir este elemento a una lista?

Iniciar sesión