Link stat (FQL)
From Facebook Developer Wiki
Contents |
Description
The link_stat FQL table. Query this table to return detailed information from your Facebook Share implementation.
To structure your query, use the table name (link_stat in this case) in the FROM clause. The items in the Name column correspond to columns in the table that can be referenced in the SELECT and WHERE clauses.
In order to make your query indexable, the WHERE in your query should contain an = or IN clause for one of the columns marked with a * in the Indexable column of the table.
The See Also section lists API functions that work on similar data; their documentation pages contain additional information about the contents of the column and example FQL queries.
Columns
| Indexable | Name | Type | Description | |
| * | url | string | The URL to the Web page users can share with Facebook Share. This is the indexable field in the table, so you must specify it in your query's WHERE clause. You can specify more than one URL; separate each URL with a comma (developers.facebook.com,facebook.com). | |
|---|---|---|---|---|
| normalized_url | string | The normalized URL for the page being shared. | ||
| share_count | string | The number of times users have shared the page on Facebook. | ||
| like_count | string | The number of times Facebook users have "Liked" the page. | ||
| comment_count | string | The number of comments users have made on the shared story. | ||
| total_count | string | The total number of times the URL has been shared, liked, or commented on. | ||
| click_count | string | The number of times users have clicked back to the Share page from Facebook. |
Examples
This query wants the number of Shares, Likes, comments, and the total of these counts.
