This document refers to a feature that was removed after Graph API v3.2.
Graph API Version

Graph API Reference /{user-id}/movies

The liked movies listed on someone's profile under Movies > Likes.

Reading

Graph API Explorer
GET /v7.0/me/movies HTTP/1.1
Host: graph.facebook.com
/* PHP SDK v5.0.0 */
/* make the API call */
try {
  // Returns a `Facebook\FacebookResponse` object
  $response = $fb->get(
    '/me/movies',
    '{access-token}'
  );
} catch(Facebook\Exceptions\FacebookResponseException $e) {
  echo 'Graph returned an error: ' . $e->getMessage();
  exit;
} catch(Facebook\Exceptions\FacebookSDKException $e) {
  echo 'Facebook SDK returned an error: ' . $e->getMessage();
  exit;
}
$graphNode = $response->getGraphNode();
/* handle the result */
/* make the API call */
FB.api(
    "/me/movies",
    function (response) {
      if (response && !response.error) {
        /* handle the result */
      }
    }
);
/* make the API call */
new GraphRequest(
    AccessToken.getCurrentAccessToken(),
    "/me/movies",
    null,
    HttpMethod.GET,
    new GraphRequest.Callback() {
        public void onCompleted(GraphResponse response) {
            /* handle the result */
        }
    }
).executeAsync();
// For more complex open graph stories, use `FBSDKShareAPI`
// with `FBSDKShareOpenGraphContent`
/* make the API call */
FBSDKGraphRequest *request = [[FBSDKGraphRequest alloc]
                               initWithGraphPath:@"/me/movies"
                                      parameters:params
                                      HTTPMethod:@"GET"];
[request startWithCompletionHandler:^(FBSDKGraphRequestConnection *connection,
                                      id result,
                                      NSError *error) {
    // Handle the result
}];

Permissions

People are allowed to adjust the privacy settings for profile sections such as the Movies section. Normally this section is public, and therefore accessible with any access token, however it can be set to stricter privacy settings, so you might prefer to always request the following:

  • A user access token with user_likes permission is required to view the current person's non-public liked movies.

Fields

Reading this endpoint returns an array of Page objects (which represent each of the movies) with the following additional fields:

NameDescriptionType

created_time

A timestamp indicating when the movie was added to the person's profile.

datetime

Publishing, Deleting and Updating

You can't perform these operations on this edge.