Connection guide
How to Set Up a Facebook App So activeimpactmedia.com Can Post to Your Facebook Page
This version explains only the Facebook-side setup. On the activeimpactmedia.com side, the user simply registers at register.php, then enters their App ID and Secret in their profile. The site will generate the Page Access Token when the user clicks “Connect / Reconnect to Facebook” inside their profile’s Facebook section.
1. Open Meta for Developers
Go to https://developers.facebook.com and sign in with the Facebook account that is an Admin of the Page you want to post to.
2. Create a New App
Click My Apps → Create App. Choose “Business” or “Consumer.” Either works for Page posting. Continue to the next screen.
3. Enter App Details
Name your app, enter your email, attach a Business if applicable, then click Create App.
4. Add Facebook Login to Your App
In the left panel, select Add Product → Facebook Login → Set Up.
5. Configure OAuth Settings
Under Facebook Login → Settings:
- Enable Client OAuth Login
- Enable Web OAuth Login
- Add your site’s OAuth redirect URL such as:
https://activeimpactmedia.com/facebook-callback - Ensure HTTPS enforcement is enabled
These settings allow activeimpactmedia.com to complete the login handshake when the user clicks Connect/Reconnect in their profile.
6. Verify Your Domain
Go to Brand Safety → Domains and add activeimpactmedia.com. This associates your domain with the app and prevents validation issues.
7. Request the Required Permissions
Go to App Review → Permissions and Features. Request these scopes:
pages_show_list(lists Pages the user manages)pages_read_engagement(reads Page content & engagement)pages_manage_posts(allows creating / editing / deleting Page posts)pages_manage_engagement(optional for comment management)business_management(optional if Business Manager assets are used)
8. Complete App Review Submission
For each permission requested, explain how activeimpactmedia.com will use it (e.g., “Users connect their Facebook Page and allow posting through our platform”). Submit required screenshots or demo steps.
9. Switch the App to Live Mode
After approval, toggle the app status from “Development” to Live. A live app is required for real users to grant permissions.
10. User Registers on activeimpactmedia.com
Direct users to create an account at: activeimpactmedia.com/register.php.
11. User Adds Their App ID and Secret
After registration, users go to their User Profile → Facebook Section and enter:
- App ID
- App Secret
This connects their Facebook App to their account on activeimpactmedia.com.
12. User Clicks “Connect / Reconnect to Facebook”
Your system opens the Facebook Login dialog using the App ID they provided. During this authorization:
- User logs in if needed
- User selects which Page(s) to grant access
- User approves the permissions
13. Page Access Token Is Automatically Generated
After the user authorizes the app, activeimpactmedia.com automatically:
- Calls
/me/accounts - Retrieves the Page Access Token for the selected Page
- Saves it securely inside the user’s profile
No manual token handling required by the user.
14. Posting Is Now Enabled
activeimpactmedia.com can now publish to the user’s Page using their stored Page Access Token.
Common Issues & Fixes
- Page not shown during connection: verify the user is Page Admin, and check that
pages_show_listis approved. - Failed to post: ensure
pages_manage_postswas granted. - App still in development mode: only test users can authorize — switch to Live mode.
- Invalid redirect URI: confirm the callback URL in OAuth settings matches your code exactly.