Graph API Version

/{app-id}/app_event_types

Information about all the App Events logged by this app. Localized descriptions are provided for predefined events.

Reading

Graph API Explorer
GET /v2.10/app/app_event_types HTTP/1.1
Host: graph.facebook.com
/* PHP SDK v5.0.0 */
/* make the API call */
$request = new FacebookRequest(
  $session,
  'GET',
  '/app/app_event_types'
);
$response = $request->execute();
$graphObject = $response->getGraphObject();
/* handle the result */
/* make the API call */
new GraphRequest(
    AccessToken.getCurrentAccessToken(),
    "/app/app_event_types",
    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:@"/app/app_event_types"
                                      parameters:params
                                      HTTPMethod:@"GET"];
[request startWithCompletionHandler:^(FBSDKGraphRequestConnection *connection,
                                      id result,
                                      NSError *error) {
    // Handle the result
}];

Permissions

  • A user access token with read_insights permission can retrieve metrics for an app, if the user is either administrator, developer or insights user of the app.
  • An app access token for the app is required.

Response

A list of app event types is returned:

Property NameDescriptionType

event_name

String used to represent this event.

string

display_name

Localized name for predefined events.

string

description

Localized description for predefined events.

string

parameters

Parameters that have been logged with this event.

list

parameter_name

String used to represent parameter across the wire.

string

display_name

Localized name for predefined parameters.

string

description

Localized description for predefined parameters.

string

Publishing

You can't publish using this edge.

Deleting

You can't delete using this edge.

Updating

You can't update using this edge.