Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

Introduction


User Storie(s)

  • As a user, I would like to retrieve user profile/account data from Instagram so I can use it for end user analytics
  • As a user, I would like to specify aggregation period and time range for the metrics so that I can filter the data for my end user analytics
  • As a user, I would like to retrieve social interaction metrics (image, video, or album) relevant associated media objects, so that I can leverage for end user analytics

Plugin Type

  • Batch Source
  • Batch Sink 
  • Real-time Source
  • Real-time Sink
  • Action
  • Post-Run Action
  • Aggregate
  • Join
  • Spark Model
  • Spark Compute

Authentication

Instagram API requires 


Configurables

This section defines properties that are configurable for this plugin. 

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"

Metrics to Pull


Account Insights - Fields to Pull

https://developers.facebook.com/docs/instagram-api/reference/user/insights#metrics-periods

Media Insights - Fields to Pull

https://developers.facebook.com/docs/instagram-api/reference/media/insights



  • No labels