Facebook & Instagram Setup Guide

Follow these steps to enable social media posting from your app

Current Status: Missing Permissions

Your Facebook token is missing the pages_manage_posts permission needed to publish posts.

pages_read_engagement ✓
pages_manage_posts ✗
instagram_content_publish ✗
1
Open Facebook Graph API Explorer

Go to the Facebook Graph API Explorer to generate a new access token with the correct permissions.

2
Select Your App

In the top dropdown, select your Facebook App: Scot Pooper Scoopers

Select App
3
Request Permissions

Click on "Permissions" and search for and enable these permissions:

pages_show_list,pages_read_engagement,pages_manage_posts,instagram_content_publish
pages_show_list
pages_read_engagement
pages_manage_posts
instagram_content_publish
4
Generate User Access Token

Click the "Generate Access Token" button and approve all permissions when prompted.

⚠️ Important: Make sure you select the correct Facebook Page when prompted!

5
Get Long-Lived Token

Click the small "i" icon next to the access token, then click "Open in Access Token Tool".

In the Access Token Tool, click "Extend Access Token" to get a long-lived token (60 days).

6
Copy & Update Your Token

Copy the new long-lived access token.

Update your secret:

  1. Go to your app's Settings → Secrets
  2. Find FACEBOOK_ACCESS_TOKEN
  3. Replace the old token with the new one
  4. Save changes
7
Test Your Setup

Go to the Social Media Hub and try publishing a test post to verify everything works!

Need Help?

Token expires in 60 days: You'll need to repeat this process every 60 days, or implement a refresh token mechanism.

Permissions not showing? Make sure your Facebook app has been approved for these permissions in the App Review.

Still having issues? Check the Facebook Developers documentation or contact support.