Graph:Insights

From Facebook Developer Wiki (FbDevWiki.com)
Jump to: navigation, search

Statistics about applications, pages, and domains.

Available metrics include application and page hits, adds, removes, and likes. The FQL Insights Documentation contains a complete list of available metrics.

Without a session, an application can retrieve only its own metrics. With a user session, it is possible to retrieve data for all applications, pages, and domains owned by the session user. Reading this data requires the read_insights extended permission.

Use Facebook Insights to claim your domain.

Insights can be retrieved only as an array.

Example

https://graph.facebook.com/2439131959/insights (Graffiti)

Properties

Name Description Permissions Returns Condition
id ID of the insight Requires read_insight permission JSON string
name Name of the insight Requires read_insight permission JSON string
period Length of the period during which the insights were collected Requires read_insight permission JSON string containing 'day', 'week' or 'month'
values Individual data points for the insight Requires read_insight permission A JSON array of objects containing the value (a JSON number) and end_time (A JSON string containing a IETF RFC 3339 datetime) fields
description The full description of the metric Requires read_insight permission JSON string
Personal tools
Namespaces
Variants
Actions
Navigation
Graph API
FQL
Toolbox