Graph API Version

Analytics App Events Export

Reading

Analytics app events export job

Example

Graph API Explorer
GET /v2.12/{analytics-app-events-export-id} 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(
    '/{analytics-app-events-export-id}',
    '{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(
    "/{analytics-app-events-export-id}",
    function (response) {
      if (response && !response.error) {
        /* handle the result */
      }
    }
);
/* make the API call */
new GraphRequest(
    AccessToken.getCurrentAccessToken(),
    "/{analytics-app-events-export-id}",
    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:@"/{analytics-app-events-export-id}"
                                      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

This endpoint doesn't have any parameters.

Fields

FieldDescription
id
numeric string

ID of the app events export job

column_names
list<string>

Names of columns in the table

end_ts
datetime

End time for the export

error_message
string

User error message

event_param_names
list<AnalyticsAppEventsExportEventParamNames>

Parameters names for each events that map to custom1-25 in data table

recent_download_timestamps
list<datetime>

Timestamps for recent downloads of the export

request_ts
datetime

Time when the export was requested

start_ts
datetime

Start time for the export

status
enum

Status of the export job

Edges

No edges

Validation Rules

ErrorDescription
100Invalid parameter

Creating

You can make a POST request to analytics_app_events_exports edge from the following paths:
When posting to this edge, an AnalyticsAppEventsExport will be created.

Parameters

NameDescription
end_ts
integer

Timestamp of the end of the export, in Linux epoch time

Required
start_ts
integer

Timestamp of the start of the export, in Linux epoch time

Required

Return Type

This endpoint supports read-after-write and will read the node represented by id in the return type.
Struct {
id: numeric string,
}

Validation Rules

ErrorDescription
100Invalid parameter

Updating

You can't perform this operation on this endpoint.

Deleting

You can't perform this operation on this endpoint.