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

Required Permissions ​

Social Login (Authentication) ​

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

Facebook Pages (Publishing + Inbox) ​

PermissionPurpose
pages_show_listList pages user manages
pages_read_engagementRead page insights/analytics
pages_manage_postsPublish posts to pages
pages_read_user_contentRead comments on your posts
pages_manage_engagementReply to comments, like comments
pages_messagingRead/send Messenger conversations

Instagram (Publishing + Inbox) ​

PermissionPurpose
instagram_basicGet Instagram Business/Creator account info
instagram_content_publishPublish photos/videos/carousels
instagram_manage_insightsRead analytics
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_manage_insightsRead analytics
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 ​

https://api.tendsocial.com/api/social/accounts/callback/facebook_page
https://api.tendsocial.com/api/social/accounts/callback/instagram_business
https://api.tendsocial.com/api/social/accounts/callback/threads
https://api.tendsocial.com/api/auth/facebook/callback

Deauthorize Callback URL ​

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

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

Data Deletion Request URL ​

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)

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