Skip to main content
Esta página todavía está en inglés. La traducción al español está en progreso.

Instagram Integration

Instagram Graph API provides profile statistics, post engagement, reach, and impressions. The @pixel agent uses it for social media analytics. Supports multiple accounts via OAuth through Facebook.

Setup

1. Create a Facebook App

  1. Go to developers.facebook.com
  2. Create a new app (type: Business)
  3. Navigate to Settings > Basic
  4. Copy your App ID and App Secret
  5. Go to Facebook Login > Settings and add the redirect URI:
    • http://localhost:8765/callback/instagram
    • If using ngrok, also add your ngrok URL: https://your-id.ngrok.io/callback/instagram

2. Configure .env

3. Connect Your Account

Open the dashboard Integrations page and click Connect on Instagram. Complete the Facebook OAuth flow. The Instagram Business/Creator account linked to your Facebook Page will be connected.

4. Test the Connection

Available Commands

The int-instagram skill queries the Instagram Graph API:

Key Metrics

  • Followers (delta via daily snapshots)
  • Engagement rate: (likes + comments) / followers
  • Reach and impressions
  • Profile views
  • Best post of the period
  • Reels vs static post performance
  • Publishing frequency

Rate Limits

  • Platform endpoints: 4800 calls per 24 hours
  • Business Discovery / Hashtag: 200 calls per hour per user

Skills That Use Instagram

Automated Routines