...
User Facing Name | Type | Description | Constraints |
---|---|---|---|
Access token | string | Access token | |
Request Type | select |
| |
Account ID | string | Account ID | Mandatory if Request Type = "Get Account Insights" |
Media ID | string | Media Object ID | Mandatory if Request Type = "Get Media Insights" |
Metrics To Pull | multi-select | Select the list of available fields to pull | The metrics dropdown will change based on the request type |
Period | select | Aggregation period/no of days for metric | Mandatory if Request Type = "Get Account Insights" |
From Date | string | Start date for retrieving metric details | Mandatory if Request Type = "Get Account Insights" |
To Date | string | End date for retrieving metric details | Mandatory if Request Type = "Get Account Insights" |
...
Design / Implementation Tips
Metrics to pull will dynamically change based on the type of request that is selected. Output schema will depend on this selection. https://developers.facebook.com/docs/instagram-api should be used for implementation and data pulls
Account Insights - Fields to Pull
...