Facebook Fan Pages and Groups
- Ways to access your data
- Working with the Facebook Graph API quota limits
- Reference - Facebook Graph API documentation
Ways to access your data
Loading data from tables
After you authenticate the connector with your account credentials, use the tables to fetch your data. Some tables are preconfigured to access a specific set of data while others let you create custom queries. The table below outlines some of the use cases for some of the tables that are available.
|Feed||Use this table to fetch the feed of posts (including status updates) and links published by this page, or by others on this page. You are required to enter the page ID.|
|Page||Use this table to fetch information about a single page. You are required to enter the page ID|
|CommentsForItem||Use this table to fetch the comment objects for an object. You are required to enter a post ID.|
To select and load data from a table, enter the required table parameters and click Preview data. Required parameters are marked with an asterisk (*). The table fields are displayed under the Data preview tab. You can select fields individually by selecting the box beside each field name. Select Insert script after you have made your selection.
To run most of the tables, you need to enter specific table parameters, usually in the form of an object ID or an object name. You can locate some of the Facebook Fan Pages IDs directly from the Facebook URL.
This ID is located at the end of the Facebook page URL. The ID can be an integer or text, in the case of vanity URLs. For example, 'qlik' is the page ID in the following URL: www.facebook.com/qlik.
This ID is located at the end of the Facebook post URL. The ID will be an integer. For example, '10203624447732200' is the post ID in the following URL: www.facebook.com/qlik/posts/10203624447732200
The Facebook Graph API v2.4 and higher no longer accepts singular links. When fetching data from tables that require the post ID, you have to enter a complex field. For example, UserID_PostID or PageID_PostID.
The Qlik Web Connectors use the
- User-based limits.
- Application-based limits.
The user-based limits apply to each user who is accessing the
Reference - Facebook Graph API documentation
You can refer to the
You are unable to get a list of users who liked your page
This is not supported by the
There is no solution as this is restricted by the
You have exceeded the API limits that are imposed on the Qlik Web Connectors by the Facebook Graph API.
To reduce the chance of reaching the API rate limits, develop your app with the following in mind:
- Extract only the data you need.
- Extract only time-relevant data and avoid collecting data across a large time range.
- Reload one Facebook-based application at a time.
- Ensure that loops in your script that make API calls will not result in infinite loops.