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)
找不到电影或节目?登录并创建它吧。
Travis Bell 的回复
于 2017 年 01 月 14 日 11:31上午
Hi Ivan,
You bet, the method you're looking for is the account states method.
Cheers.
Ivan Antsiferov 的回复
于 2017 年 01 月 14 日 11:59上午
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?
Travis Bell 的回复
于 2017 年 01 月 14 日 12:11下午
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.