Conecta icon

Conecta

Integração com a plataforma Conecta API

Actions108

Chat → Get Insights

AI-generated

Summary

Retrieve Instagram media insights based on specified parameters such as object ID, metric, and period.

Inputs

  • object_id (required) — The ID of the media object to retrieve insights for.
  • metric — The metric to retrieve insights for, e.g., likes, saved, total_interactions.
  • period — The time period for the insights, e.g., day, week, month, lifetime.

Output shape

a single JSON object containing insights data about the specified media object

The operation returns insights related to the Instagram media object specified by 'object_id'. 'metric' and 'period' are optional query parameters that refine the insights data. The data is received from the Conecta API and returned as JSON.

Examples

Example 1: Get lifetime likes insights for a specific media

Set object_id to the media's ID, metric to 'likes', and period to 'lifetime'. The operation returns the likes count over the entire life of the media.

Discussion