
GetInsights
Fetch insights like reach, saves, likes, etc. for specific Instagram media
Fetch insights like reach, saves, likes, etc. for specific Instagram media
Get Instagram media insights
Fetch insights like reach, saves, likes, etc. for specific Instagram media
type: "io.kestra.plugin.meta.instagram.media.GetInsights"Examples
Get media insights
id: instagram_get_media_insights
namespace: company.team
tasks:
- id: get_insights
type: io.kestra.plugin.meta.instagram.media.GetInsights
igId: "{{ secret('INSTAGRAM_ACCOUNT_ID') }}"
accessToken: "{{ secret('INSTAGRAM_ACCESS_TOKEN') }}"
mediaId: "17954170374002653"
metrics:
- LIKES
- COMMENTS
- SAVES
- REACH
Properties
accessToken*Requiredstring
Access Token
Instagram access token with appropriate permissions (instagram_basic, instagram_content_publish, etc.)
igId*Requiredstring
Instagram Account ID
The ID of the Instagram professional account
mediaId*Requiredstring
Media ID
The ID of the Instagram media to get insights for
apiVersionstring
v24.0API Version
Instagram Graph API version to use
hoststring
https://graph.facebook.comHost URL
The host URL for the Instagram Graph API
metricsarray
["LIKES","COMMENTS","SAVES","REACH"]LIKESCOMMENTSSAVESSHARESREACHIMPRESSIONSPROFILE_VISITSPROFILE_ACTIVITYWEBSITE_CLICKSEMAIL_CONTACTSPHONE_CALL_CLICKSTEXT_MESSAGE_CLICKSGET_DIRECTIONS_CLICKSFOLLOWSUNFOLLOWSVIEWSTOTAL_INTERACTIONSREPLIESTAPS_FORWARDTAPS_BACKEXITSNAVIGATIONMetrics
List of insight metrics to retrieve