Graph API Version

Insights for Videos

Reading

Total insights from all video posts associated with this video.

Insights for Crossposted Videos

Crossposted Videos gives Pages the ability to create posts from videos without uploading them again. The major benefit of this is that you can see total insights from all videos crossposted across Facebook and a breakdown of metrics across the multiple posts created from it. You can use video_insights edge on the Video API to read the total insights. This is different from {post_id}/insights since it allows you to read insights from a single post.

All available metrics are shown below.

Name Description Values for period

total_video_views

The number of times your videos played for at least 3 seconds, or for nearly their total length if they're shorter than 3 seconds. During a single instance of a video playing, we'll exclude any time spent replaying the video.

lifetime

total_video_views_unique

The number of people who viewed your videos for at least 3 seconds, or for nearly their total length if they're shorter than 3 seconds. During a single instance of a video playing, we'll exclude any time spent replaying the video.

lifetime

total_video_views_autoplayed

The number of times your videos automatically played for at least 3 seconds, or for nearly their total length if they're shorter than 3 seconds. During a single instance of a video playing, we'll exclude any time spent replaying the video.

lifetime

total_video_views_clicked_to_play

The number of times your videos played for at least 3 seconds, or for nearly their total length if they're shorter than 3 seconds, after people clicked play. During a single instance of a video playing, we'll exclude any time spent replaying the video.

lifetime

total_video_views_organic

The number of times your videos played for at least 3 seconds, or for nearly their total length if they're shorter than 3 seconds, by organic reach. During a single instance of a video playing, we'll exclude any time spent replaying the video.

lifetime

total_video_views_organic_unique

The number of people who viewed your videos for at least 3 seconds, or for nearly their total length if they're shorter than 3 seconds, by organic reach. During a single instance of a video playing, we'll exclude any time spent replaying the video.

lifetime

total_video_views_paid

The number of times your promoted videos played for at least 3 seconds, or for nearly their total length if they're shorter than 3 seconds. For each impression of a video, we'll count video views separately and exclude any time spent replaying the video.

lifetime

total_video_views_paid_unique

The number of people who viewed your promoted videos for at least 3 seconds, or for nearly their total length if they're shorter than 3 seconds. For each impression of a video, we'll count video views separately and exclude any time spent replaying the video.

lifetime

total_video_views_sound_on

The number of times your videos played with sound on for at least 3 seconds, or for nearly their total length if they're shorter than 3 seconds. During a single instance of a video playing, we'll exclude any time spent replaying the video.

lifetime

total_video_complete_views

The number of times your videos played for 95%, or more, or its length. During a single instance of a video playing, we'll exclude any time spent replaying the video.

lifetime

total_video_complete_views_unique

The number of people who viewed your videos for 95%, or more, of its length. During a single instance of a video playing, we'll exclude any time spent replaying the video.

lifetime

total_video_complete_views_auto_played

The number of times your videos automatically played for 95%, or more, of its length. During a single instance of a video playing, we'll exclude any time spent replaying the video.

lifetime

total_video_complete_views_clicked_to_play

The number of times your videos played for 95%, or more, of its length, after people clicked play. During a single instance of a video playing, we'll exclude any time spent replaying the video.

lifetime

total_video_complete_views_organic

The number of times your videos played for 95%, or more, of its length, by organic reach. During a single instance of a video playing, we'll exclude any time spent replaying the video.

lifetime

total_video_complete_views_organic_unique

The number of people who viewed your videos for 95%, or more, of its length, by organic reach. During a single instance of a video playing, we'll exclude any time spent replaying the video.

lifetime

total_video_complete_views_paid

The number of times your promoted videos played for 95%, or more, of its length. For each impression of a video, we'll count video views separately and exclude any time spent replaying the video.

lifetime

total_video_complete_views_paid_unique

The number of people who viewed your promoted videos for 95%, or more, of its length. For each impression of a video, we'll count video views separately and exclude any time spent replaying the video.

lifetime

total_video_10s_views

The number of times your videos played for 10 seconds. During a single instance of a video playing, we'll exclude any time spent replaying the video.

lifetime

total_video_10s_views_unique

The number of people who viewed your videos for 10 seconds or more. During a single instance of a video playing, we'll exclude any time spent replaying the video.

lifetime

total_video_10s_views_auto_played

The number of times your videos automatically played for 10 seconds or more. During a single instance of a video playing, we'll exclude any time spent replaying the video.

lifetime

total_video_10s_views_clicked_to_play

The number of times your videos played for 10 seconds or more, after people clicked play. During a single instance of a video playing, we'll exclude any time spent replaying the video.

lifetime

total_video_10s_views_organic

The number of times your videos played for 10 seconds or more, by organic reach. During a single instance of a video playing, we'll exclude any time spent replaying the video.

lifetime

total_video_10s_views_paid

The number of times your promoted videos played for 10 seconds or more. For each impression of a video, we'll count video views separately and exclude any time spent replaying the video.

lifetime

total_video_10s_views_sound_on

The number of times your videos played with sound on for 10 seconds or more. During a single instance of a video playing, we'll exclude any time spent replaying the video.

lifetime

total_video_retention_graph

The number of times your videos played at each interval as a percentage of all views. Videos are divided into 40 equal intervals. Retention graphs may show more impressions later in the video than at the beginning. People might start the video in the middle, skip ahead, save, and rewatch it from that point, or other similar behaviors

lifetime

total_video_retention_graph_autoplayed

The number of times your videos automatically played at each interval as a percentage of all views. Videos are divided into 40 equal intervals. Retention graphs may show more impressions later in the video than at the beginning. People might start the video in the middle, skip ahead, save, and rewatch it from that point, or other similar behaviors.

lifetime

total_video_retention_graph_clicked_to_play

The number of times your videos played at each interval as a percentage of all views, after people clicked play. Videos are divided into 40 equal intervals. Retention graphs may show more impressions later in the video than at the beginning. People might start the video in the middle, skip ahead, save, and rewatch it from that point, or other similar behaviors.

lifetime

total_video_avg_time_watched

The average time, in milliseconds, people viewed your videos.

lifetime

total_video_view_total_time

The total time, in milliseconds, people viewed your videos.

lifetime

total_video_view_total_time_organic

The total time, in milliseconds, people viewed your videos, by organic reach.

lifetime

total_video_view_total_time_paid

The total time, in milliseconds, people viewed your promoted videos.

lifetime

total_video_impressions

The total number of impressions of your videos.

lifetime

total_video_impressions_unique

The total number of unique impressions of your videos.

lifetime

total_video_impressions_paid_unique

The total number of unique impressions or your promoted videos.

lifetime

total_video_impressions_paid

The total number of impressions of your promoted videos.

lifetime

total_video_impressions_organic_unique

The total number of unique impressions of your videos, by organic reach.

lifetime

total_video_impressions_organic

The total number of impressions of your videos, by organic reach.

lifetime

total_video_impressions_viral_unique

The total number of unique impressions of your videos in a friend's story.

lifetime

total_video_impressions_viral

The total number of impressions of your videos in a story generated by a friend.

lifetime

total_video_impressions_fan_unique

The total number of unique impressions of your videos for people who liked your Page.

lifetime

total_video_impressions_fan

The total number of impressions of your videos for people who liked your Page.

lifetime

total_video_impressions_fan_paid_unique

The total number of unique impressions of your promoted videos for people who liked your Page.

lifetime

total_video_impressions_fan_paid

The total number of impressions of your promoted video for people who liked your Page.

lifetime

total_video_stories_by_action_type

The total number of stories created about your Page's video, by action type; liking, commenting, sharing, etc.

lifetime

total_video_reactions_by_type_total

The total number of reactions to your Page's video, by type.

lifetime

total_video_view_time_by_age_bucket_and_gender

The total time, in milliseconds, your video has been viewed by Top Audiences; age and gender.

lifetime

total_video_view_time_by_region_id

The total time, in milliseconds, your Page's videos played for your Top 45 Locations; Region - Country.

lifetime

total_video_views_by_distribution_type

The number of times your videos played by distribution type; page_owned and shared.

lifetime

total_video_view_time_by_distribution_type

The total time, in milliseconds, your Page's videos played by distribution type; page_owned and shared.

lifetime

Insights for Video Ad Breaks

Data is available for dates after October 15, 2017.

Name Description Values for period

total_video_ad_break_ad_cpm

The average amount paid by advertisers for 1,000 impressions of their ads in your video. This number also includes the amount paid to Facebook.

day, lifetime

total_video_ad_break_ad_impressions

Number of times an ad was shown during your video's ad breaks.

day, lifetime

total_video_ad_break_earnings

An estimate of the amount you earned from ad breaks in your video, based on the number of impressions and CPM of ads shown. Actual payments may differ if there are content ownership claims or other adjustments.

day, lifetime

Example

Graph API Explorer
GET /v3.1/{video-id}/video_insights 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(
    '/{video-id}/video_insights',
    '{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(
    "/{video-id}/video_insights",
    function (response) {
      if (response && !response.error) {
        /* handle the result */
      }
    }
);
/* make the API call */
new GraphRequest(
    AccessToken.getCurrentAccessToken(),
    "/{video-id}/video_insights",
    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:@"/{video-id}/video_insights"
                                      parameters:params
                                      HTTPMethod:@"GET"];
[request startWithCompletionHandler:^(FBSDKGraphRequestConnection *connection,
                                      id result,
                                      NSError *error) {
    // Handle the result
}];
If you want to learn how to use the Graph API, read our Using Graph API guide.

Parameters

ParameterDescription
metric
list<A valid metric for an insights endpoint>

The list of metrics that needs to be fetched

period
enum{day, week, days_28, month, lifetime}

The aggregation period

since
datetime/timestamp

Lower bound of the time range to consider

until
datetime/timestamp

Upper bound of the time range to consider

Fields

Reading from this edge will return a JSON formatted result:

{ "data": [], "paging": {} }

data

A list of InsightsResult nodes.

paging

For more details about pagination, see the Graph API guide.

Creating

You can't perform this operation on this endpoint.

Updating

You can't perform this operation on this endpoint.

Deleting

You can't perform this operation on this endpoint.