The Movie Database Support

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

7 replies (on page 1 of 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?

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login