Skip to main content

Facebook & Instagram Integration

Connect your Facebook Pages and Instagram Business accounts to Iverton AI for social media publishing, engagement tracking, message management, and audience insights.

Overview

The Facebook integration uses OAuth 2.0 to securely connect your accounts. Once connected, you can:

  • Schedule and publish posts to Facebook Pages and Instagram
  • Monitor comments, messages, and mentions
  • Track engagement metrics and audience growth
  • Manage multiple pages and accounts from one dashboard
  • Set up automated responses and alerts
Instagram Requirement

Instagram Business accounts must be connected to a Facebook Page. You'll connect Instagram through the Facebook integration.


Connecting Facebook Pages

Prerequisites

Before connecting, ensure you have:

  • Admin or Editor role on the Facebook Page(s) you want to connect
  • A personal Facebook account linked to those pages
  • Pages must be published (not unpublished/draft)

Step-by-Step Connection

  1. Go to Integrations in the main sidebar
  2. Find Facebook in the Social Media category
  3. Click Connect
  4. A Facebook login popup will appear
  5. Log in with your personal Facebook account
  6. Review the permissions Iverton AI is requesting
  7. Select which Pages you want to connect
  8. Click Done to complete the authorization

Permissions Requested

Iverton AI requests these Facebook permissions:

PermissionWhat It AllowsRequired
pages_manage_postsCreate, edit, and delete posts on your pagesYes
pages_read_engagementView comments, reactions, and sharesYes
pages_manage_engagementRespond to comments and messagesYes
pages_read_user_contentSee posts from your audienceYes
pages_show_listSee which pages you manageYes
business_managementAccess business asset permissionsYes

You can review exactly what each permission allows before approving.

Selecting Pages

After authorization, you'll see a list of all Facebook Pages you have access to. For each page, you can:

  • Connect: Enable the page for use in Iverton AI
  • Skip: Don't connect this page (you can add it later)

Select all pages you want to manage, then click Save.


Connecting Instagram Business

Instagram connects through Facebook. Your Instagram Business or Creator account must be linked to a Facebook Page.

Prerequisites

  • Instagram Business or Creator account (not a personal account)
  • The Instagram account must be connected to a Facebook Page
  • You must have admin access to the linked Facebook Page

Converting to Business Account

If you have a personal Instagram account:

  1. Open the Instagram app
  2. Go to SettingsAccount
  3. Tap Switch to Professional Account
  4. Choose Business or Creator
  5. Follow the prompts to connect to a Facebook Page

Connecting Instagram

  1. First, connect your Facebook account (see above)
  2. During the Facebook authorization, Instagram accounts linked to your selected Pages will appear
  3. Select the Instagram accounts you want to connect
  4. Complete the authorization

Or, if Facebook is already connected:

  1. Go to IntegrationsFacebook
  2. Click Add Instagram Account
  3. Select from the Instagram accounts linked to your connected Pages

Instagram Permissions

PermissionWhat It AllowsRequired
instagram_basicRead profile info and mediaYes
instagram_content_publishPublish posts and storiesYes
instagram_manage_commentsRead and respond to commentsYes
instagram_manage_insightsView performance metricsYes

Features

Post Scheduling

Schedule posts to Facebook Pages and Instagram from a unified interface.

Supported Content Types

ContentFacebookInstagram
Text postsYesYes (with image)
Single imageYesYes
Multiple images (carousel)YesYes (up to 10)
VideoYesYes (up to 60 min)
StoriesLimitedYes
ReelsNoComing soon
Links with previewYesNo (link in bio)

Scheduling Options

  • Post immediately
  • Schedule for a specific date and time
  • Add to content queue (posts at optimal times)
  • Draft for later review

Best Practices

  • Instagram requires at least one image or video
  • Square images (1:1) work best on Instagram
  • Include alt text for accessibility
  • Use hashtags strategically (Instagram allows up to 30)

Engagement Monitoring

Track how your audience interacts with your content.

Available Metrics

For Facebook Pages:

  • Post reach and impressions
  • Reactions (like, love, haha, wow, sad, angry)
  • Comments and shares
  • Link clicks
  • Video views and watch time
  • Page followers gained/lost

For Instagram:

  • Post reach and impressions
  • Likes and comments
  • Saves and shares
  • Profile visits from posts
  • Follower growth
  • Story views and interactions

Message Management

View and respond to messages from a unified inbox.

Facebook Messenger

  • See incoming messages from your Page
  • Reply directly from Iverton AI
  • Mark messages as read/unread
  • Assign conversations to team members

Instagram Direct

  • View DMs sent to your business account
  • Respond to inquiries
  • Manage message requests

Social Listening

Monitor mentions and conversations about your brand.

Tracked Items

  • Comments on your posts
  • @mentions of your page
  • Posts where you're tagged
  • Reviews on Facebook

Alerts

  • Get notified of new mentions
  • Set up keyword alerts
  • Prioritize messages requiring urgent response

Automated Responses

Set up automatic replies for common scenarios.

Auto-Reply Options

  • Instant reply when someone messages your Page
  • Away messages for outside business hours
  • FAQ responses for common questions

Configure automated responses in SettingsSocial MediaAuto Responses.


Data Syncing

Sync Frequency

Iverton AI syncs data from Facebook/Instagram on this schedule:

Data TypeSync Frequency
New postsReal-time (via webhooks)
Engagement metricsEvery 15 minutes
MessagesReal-time (via webhooks)
Follower countsEvery hour
Full analyticsDaily

Manual Sync

To force an immediate data sync:

  1. Go to IntegrationsFacebook
  2. Click Sync Now
  3. Wait for the sync to complete

Token Management

Token Expiration

Facebook access tokens have different lifespans:

  • Short-lived tokens: 1-2 hours (used during initial auth)
  • Long-lived tokens: ~60 days (what Iverton AI stores)
  • Page tokens: Do not expire if derived from long-lived user tokens

Iverton AI automatically:

  • Exchanges short-lived tokens for long-lived tokens
  • Refreshes tokens before they expire
  • Notifies you if manual re-authorization is needed

Re-Authorization

If your connection expires or you see a warning:

  1. Go to IntegrationsFacebook
  2. Click Reconnect
  3. Complete the Facebook authorization flow
  4. Select the pages you want to reconnect

Re-authorization is typically needed when:

  • Your Facebook password changed
  • You revoked Iverton AI's access in Facebook settings
  • Facebook's security policies required re-verification
  • The token expired and couldn't be refreshed

Troubleshooting

Common Issues

"Page not appearing in selection list"

  • Verify you have Admin or Editor role on the Page
  • Check that the Page is published, not in draft mode
  • Try disconnecting and reconnecting your Facebook account

"Instagram account not showing"

  • Confirm it's a Business or Creator account, not personal
  • Verify the Instagram account is linked to a Facebook Page
  • Ensure you selected that Facebook Page during authorization

"Posts not publishing"

  • Check that the connected Page token is still valid
  • Verify you have pages_manage_posts permission
  • Ensure the content meets Facebook/Instagram guidelines
  • Check for content policy violations in the error message

"Engagement data not updating"

  • Data may take 15-30 minutes to sync
  • Try a manual sync from the integration settings
  • Verify the pages_read_engagement permission is granted

"Messages not appearing"

  • Check that Messenger is enabled for your Page
  • Verify the pages_manage_engagement permission
  • Some message types may be filtered by Facebook

Facebook App Review

If you see limited functionality, it may be because some permissions require Facebook App Review. Iverton AI has completed App Review for standard business use. If you're using advanced features or high-volume APIs, contact support.

Rate Limits

Facebook enforces API rate limits:

Limit TypeThresholdReset
Calls per hour200 per user per hourHourly
Pages per app4800 calls per dayDaily
Instagram content publishing25 posts per dayDaily

If you hit rate limits:

  • Wait for the reset period
  • Reduce posting frequency
  • Contact support for enterprise limits

Disconnecting

To remove the Facebook/Instagram integration:

  1. Go to IntegrationsFacebook
  2. Click Disconnect
  3. Confirm the disconnection

This removes Iverton AI's access to your Pages and Instagram accounts. Your data in Iverton AI is retained, but no new data will sync.

To fully revoke access, also remove Iverton AI from:

  • Facebook: Settings → Security and Login → Apps and Websites → Remove
  • Instagram: Settings → Security → Apps and Websites → Remove

API Endpoints Reference

For developers integrating with the social media API:

GET  /api/oauth/facebook              - Initiate Facebook OAuth
GET /api/oauth/facebook/callback - OAuth callback handler
GET /api/social-accounts - List connected accounts
DELETE /api/social-accounts/facebook/:id - Disconnect account
POST /api/oauth/refresh/facebook/:id - Refresh access token
GET /api/oauth/status/facebook/:id - Check connection status

Environment Variables

For self-hosted deployments:

# Facebook App credentials
FACEBOOK_APP_ID=your-app-id
FACEBOOK_APP_SECRET=your-app-secret

# Webhook verification (for real-time updates)
FACEBOOK_VERIFY_TOKEN=your-verify-token

# Optional: Default access token for testing
FACEBOOK_ACCESS_TOKEN=your-access-token

Next: LinkedIn Integration