Graph_Api

Base URL: https://graph.instagram.com/v21.0 Retorna informações do perfil. id, username, name, account_type biography, followers_count, follows_count, media_cou

Social Media
bykursku824 words

What is Graph_Api?

What this skill does

The Graph_Api skill integrates with Instagram’s Graph API to retrieve and manage detailed profile, media, comment, hashtag, and messaging data for Business accounts. It enables access to key metrics such as follower counts, impressions, engagement, and media insights, as well as supports publishing posts via a two-step container and publish process. This skill also handles comment moderation, hashtag tracking, and Instagram Messaging, providing a comprehensive toolkit for performance marketing on Instagram.

Who it's for

This skill is designed for performance marketers managing Instagram Business accounts who need granular data on media performance and audience engagement. Growth leads running data-driven content strategies benefit from the ability to analyze daily and weekly user insights and optimize posting schedules. Agency strategists handling multiple client accounts will find value in automating comment moderation, hashtag monitoring, and managing scheduled content publishing efficiently.

Key workflows

Practitioners typically start by fetching user profile data and media lists to establish baseline performance metrics such as followers_count and media impressions. Next, they retrieve media insights and user-level analytics to track engagement trends and tailor content accordingly. For publishing, the two-step process involves creating a media container and verifying video processing before final post publication, which can include scheduled posts within a 10-minute to 75-day window. Comment management involves retrieving comments, replying, deleting, or hiding them to maintain brand voice and community standards.

Common questions

Can I schedule posts with this API? Yes, scheduling is supported only for Business accounts with a scheduled_publish_time between 10 minutes and 75 days in the future. How do I handle rate limits? When hitting rate limits, back off for the recommended time—usually one hour for general limits or as specified by error codes. Is it possible to get hashtag performance data? Yes, you can search for hashtag IDs and retrieve recent or top media tagged with those hashtags, though there is a limit of 30 unique hashtags per account per rolling week.

How to use in Metaflow

Attach the Graph_Api skill to a Metaflow agent task to enable automated retrieval of Instagram profile, media, and insights data, as well as publishing and comment management workflows. Expect structured outputs of key performance indicators and the ability to trigger content publication or moderation actions within your flows. This skill streamlines the connection to Instagram’s API endpoints and handles common error cases automatically, allowing you to focus on strategic decisions. You can learn more about setup and integration steps here.

For broader context, see our roundup of claude marketing skills, and read connect Claude Desktop to Google Ads with MCP for related setup guidance.

Related skills