Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

User Facing NameTypeDescriptionConstraints
Access tokenstring Access token
Request Typeselect
  1. Get Account Insights for specific user
  2. Get Media Insights for a specific media object
  3. TBD

Account IDstring Account ID


Mandatory if Request Type = "Get Account Insights"

Media IDstringMedia Object ID

Mandatory if Request Type = "Get Media Insights"

Metrics To Pull multi-selectSelect the list of available fields to pull

The metrics dropdown will change based on the request type

PeriodselectAggregation period/no of days for metricMandatory if Request Type = "Get Account Insights"
From DatestringStart date for retrieving metric detailsMandatory if Request Type = "Get Account Insights"
To DatestringEnd date for retrieving metric detailsMandatory 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

...