Hello. Is there any way to get user rating for movie when doing /movie/{movie_id} request? If app has a validated session id, of course. Also, would be great to get user rating for movies/shows with all common request like /movie/popular.
I'm trying to implement a display of user rating of movie/show in all pages of app, like Popular/Search/Discover/Etc. But for now i didn't find the best way to realize it, rather than fetch rated list in background with /account/{account_id}/rated/movies(tv) request, keep that data in app DB and than connect it with other requests results by TMDb id.
This method requires a lot of extra requests, it does not always show up to date information and requires regular sync with account rated list. So the question is, if there any best way to implement it? Thanks. (Sorry for my poor English)
Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.
Vous souhaitez évaluer ou ajouter cet élément à une liste ?
Pas encore membre ?
Réponse de Travis Bell
le 14 janvier 2017 à 11h31
Hi Ivan,
You bet, the method you're looking for is the account states method.
Cheers.
Réponse de Ivan Antsiferov
le 14 janvier 2017 à 11h59
Thanks for reply, account states method is perfect for movie details page. But what about requests, that returns 20 movies as result, like Get Popular movies? Is there any way to get user rating for all 20 results in same request?
Réponse de Travis Bell
le 14 janvier 2017 à 12h11
There is no such method right now but I can definitely add one. I use a similar system on the website here, you can see after a page load I toggle the account states of the visible items.
I've created a new ticket for this here. I'll bump this thread when it is complete.