Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facebook API to get "watched" movies/TV show list or "read" book list?

My facebook profile recently has been migrated to the new layout. In the about page, I found that movies/TV shows sections have been divided into 3 tabs "Watched", "Want to Watch", "Likes". Similar case applies to Books section.

I know that we can use "/me/movies" to get list of movies users liked. However, I can't find the way to get the list of "Watched" and "Want to Watch", which I found interesting to get.

Any suggestion about how I can access (read/write) to these lists in addition to already available "Likes" list for movies/TV show/books? Thanks a lot!

like image 346
toppest Avatar asked Apr 02 '13 08:04

toppest


1 Answers

video.watches Returns no data as of April 4, 2018. https://developers.facebook.com/docs/reference/opengraph/action-type/video.watches/

If you use Graph API Explorer and point to: https://graph.facebook.com/me/video.watches

that will give you a list of videos watched.

If it does not, be sure that you have granted the user_actions.video permission by clicking the Get Access Token button, and then checking the user_actions.video box under User Data Permissions, and get a new access token.

My concern is also that there's seemingly no way to actually post to these collections programmatically via Graph. You can post a movie watched from your own app using the video_watches action, but it won't add it to the "Movies I've Watched" collection that the "Movies" application controls (an application seemingly only Facebook itself can post or update through). There's no way to get an access token to post AS the Movies application that I can see. Therefore, there's no way through Graph to post a "movie I've watched" or "movie I want to watch". It will just end up being sandboxed in your own application's collection.

If this is incorrect, please someone chime in on how this might be accomplished.

like image 79
Nathan Chase Avatar answered Sep 28 '22 09:09

Nathan Chase