Links.getStats
From Facebook Developer Wiki
Contents |
Description
Returns information about one or more Facebook Share implementations.
Because of data caching reasons, you can make this API call only once every 2 minutes for a given Share URL.
Getting Share Statistics Directly from a Browser
You can also call links.getStats directly from your browser. To do so, pass this URL:
Note: You must URL encode the URL. For example, if you want to share http://www.facebook.com/connectnews?v=app_4949752878 , you would encode it as:
Parameters
| Required | Name | Type | Description | |
| required | urls | string | A comma-separated list of Facebook Share URLs for which you want to get data. |
|---|
Example Requests
This is using the PHP library
Response
This call returns an array of link_stat information about your Facebook Share implementation.
Example Return XML
FQL Equivalent
FQL queries take the form: SELECT <fields> FROM <table> WHERE <conditions>
This function is similar to doing the following FQL query, with the appropriate parameters filled in (for example, using your Facebook Share URL in place of YOUR_SHARE_URL):
