Supporto The Movie Database

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

7 risposte (nella pagina 1 di 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?

Non riesci a trovare un film o una serie Tv? Accedi per crearlo.

Globale

s focalizza la barra di ricerca
p apri menu profilo
esc chiudi una finestra aperta
? apri finestra scorciatoia tastiera

Su tutte le pagine di media

b torna indietro (o al precedente quando applicabile)
e vai alla pagina di modifica

Nelle pagine delle stagioni TV

(freccia destra) vai alla stagione successiva
(freccia sinistra) vai alla stagione precedente

Nelle pagine degli episodi TV

(freccia destra) vai all'episodio successivo
(freccia sinistra) vai all'episodio precedente

Su tutte le pagine di immagini

a apri finestra aggiungi immagine

Su tutte le pagine di modifica

t apri selettore traduzione
ctrl+ s invia modulo

Sulle pagine di discussione

n crea nuova discussione
w segna come visto/non visto
p cambia publico/privato
c cambia chiuso/aperto
a apri attivita
r rispondi alla discussione
l vai all'ultima risposta
ctrl+ enter invia il tuo messaggio
(freccia destra) pagina successiva
(freccia sinistra) pagina precedente

Impostazioni

Vuoi valutare o aggiungere quest'elemento a una lista?

Accedi