Skip to content

Meta Platforms Setup ​

Configure Facebook, Instagram, and Threads integrations through the Meta for Developers portal.

IMPORTANT

All three platforms (Facebook, Instagram, Threads) use the same Meta App. You only need one app configured with multiple products.

Use Cases to Select ​

In your Meta App Dashboard, select these use cases:

Use CasePurpose
Access the Threads APIPublishing posts to Threads
Manage messaging & content on InstagramPublishing posts/stories to Instagram
Manage everything on your PagePublishing to Facebook Pages
Authenticate and request data from users with Facebook LoginSocial login for your app

Approval Strategy ​

Submit the first Meta review for publishing and media workflows only. Inbox, DM, comment moderation, reply management, and analytics permissions should be submitted as separate follow-up reviews with their own screen recordings and reviewer test steps.

Required Permissions ​

Social Login (Authentication) ​

PermissionPurpose
emailGet user's email for account creation
public_profileGet name, profile picture

Facebook Pages (Publishing) ​

PermissionPurpose
pages_show_listList pages the user manages; dependency for Page publishing permissions
pages_read_engagementRead page metadata and engagement; dependency for pages_manage_posts
pages_manage_postsPublish posts to pages
pages_manage_metadataSubscribe to Page webhooks and manage Page settings

Facebook Pages (Inbox + Engagement Follow-Up) ​

PermissionPurpose
pages_read_user_contentRead comments on your posts
pages_manage_engagementReply to comments, like comments
pages_messagingRead/send Messenger conversations

Instagram (Publishing) ​

PermissionPurpose
instagram_basicGet Instagram Business/Creator account info
pages_show_listList connected Facebook Pages
pages_read_engagementRequired dependency for Instagram publishing permissions
instagram_content_publishPublish photos/videos/carousels

Instagram (Analytics Follow-Up) ​

PermissionPurpose
instagram_manage_insightsRead analytics

Instagram (Inbox + Engagement Follow-Up) ​

PermissionPurpose
instagram_manage_commentsRead/reply to comments
instagram_manage_messagesRead/send Instagram DMs

Threads (Publishing) ​

PermissionPurpose
threads_basicGet profile info
threads_content_publishPublish text/image/video posts

Threads (Analytics Follow-Up) ​

PermissionPurpose
threads_manage_insightsRead analytics

Threads (Replies Follow-Up) ​

PermissionPurpose
threads_read_repliesRead replies to threads
threads_manage_repliesReply to threads

Platform Limitations ​

WARNING

These are platform-imposed limitations, not TendSocial limitations.

PlatformCan Post ToCannot Post To
FacebookPages, GroupsPersonal profiles
InstagramFeed posts, Reels, CarouselsStories, Personal accounts
ThreadsText, Images, Videos, Replies(Most features available)

Instagram-Specific Limitations ​

  • Only Business or Creator accounts are supported (not personal accounts)
  • Stories cannot be published via API
  • DMs are limited to a 24-hour response window for user-initiated messages only

Callback URLs ​

Configure these URLs in your Meta App settings:

OAuth Redirect URIs ​

text
https://api.tendsocial.com/api/company/social-accounts/callback/FACEBOOK_PAGE
https://api.tendsocial.com/api/company/social-accounts/callback/INSTAGRAM_BUSINESS
https://api.tendsocial.com/api/company/social-accounts/callback/THREADS
https://api.tendsocial.com/api/auth/facebook/callback

The callback URI must match the value passed to /api/company/social-accounts/connect/:platform exactly. In production, set OAUTH_REDIRECT_BASE_URL=https://api.tendsocial.com so callback exchange uses the same URI registered in Meta.

Deauthorize Callback URL ​

text
https://api.tendsocial.com/api/webhooks/meta/uninstall

Set this in: App Settings → Basic → Deauthorize Callback URL

Data Deletion Request URL ​

text
https://api.tendsocial.com/api/webhooks/meta/delete

Set this in: App Settings → Basic → Data Deletion Request URL

Environment Variables ​

bash
FACEBOOK_APP_ID=your_app_id
FACEBOOK_APP_SECRET=your_app_secret

App Review ​

To use these permissions in production with users outside your development team, you must submit for App Review:

  1. Create screen recordings demonstrating each permission's use
  2. Provide clear privacy policy and terms of service URLs
  3. Complete Data Use Checkup
  4. Submit Business Verification (for some permissions)

For the initial review, demonstrate Facebook Page publishing, Instagram Business publishing, and Threads publishing only. Do not request Messenger, Instagram DM, comment moderation, or reply management permissions unless the recording shows those workflows end to end.

See Meta App Review Documentation for details.

Webhook Verification ​

Meta verifies webhook endpoints by sending a GET request with:

  • hub.mode = subscribe
  • hub.verify_token = your configured token
  • hub.challenge = string to return

Your endpoint must return hub.challenge to verify ownership.

TendSocial Documentation