π Facebook Page Setup Guide
πΉ Why is This Important?
Integrating your Facebook Page with Affiliate Solution allows you to automatically post deals on your Facebook Page. This helps in:
β
Automating deal posting on Facebook π
β
Saving time by eliminating manual posting β³
β
Expanding your reach and engagement π’
By following this guide, you can create a Facebook app, generate access tokens, and connect Facebook to Affiliate Solution.
πΉ Steps to Set Up Facebook Page Posting
π Step 1: Create a Facebook App
- Log in to Facebook Developers.
- Click "My Apps".
- Click "Create App".
- Select "Explore other products and data permissions such as ads management, Instant Games, and more", then click Next.
- Select "Create or manage business assets such as Pages, Events, Groups, Ads, Messenger, WhatsApp, and Instagram Graph API", then click Next.
- Enter an App Name (Example:
Affiliate Solution Demo
). - Click "Create App" β .
π Step 2: Generate Facebook Page Access Token
- Click "Tools" β "Graph API Explorer".
- Select your app from the Meta App menu.
- Click "Get Token" β "Get Page Access Token".
- Click "Continue as [Your Facebook Name]".
- Select the Facebook Page where you want to post deals.
- Click "Continue" β "Save".
- Click "Got it".
- Click on your Page name.
- Click "pages_manage_engagement".
-
Click "pages_manage_posts".
πΈ Example Screenshot:
-
Ensure that the highlighted options are selected in green β .
- Click "Generate Access Token".
- Click "Continue as [Your Facebook Name]" β "Save".
β Step 3: Extend & Debug the Access Token
- Click "User Token".
- Select the Facebook Page.
- Copy the Access Token (β οΈ Do NOT click "Generate Access Token" again).
- Click "Access Token Debugger".
- Click "Enter an access token to debug".
- Right-click and Paste (
Ctrl+V
) the token. - Click "Debug".
- Click "Extend Access Token". β οΈ Ensure you have selected "Page" and NOT "User".
- Copy the Extended Access Token β .
πΈ Example Screenshot:
π Step 4: Add Token to Affiliate Solution
- Log in to Affiliate Solution.
- Click "Facebook" from the menu.
- Paste the Access Token and click "Save" β .
- Facebook settings have been successfully updated π.
πΈ Example Screenshot:
π Step 5: Post Deals on Facebook
- Click "Post Deal".
- Enter your deal message.
- Select the Facebook checkbox.
- Click "Post Deal" β .
- β Your deal is now posted on Facebook! π
π Common Issues & Troubleshooting
β My Facebook Access Token is not working
- Ensure you selected "Page" token instead of "User" token.
- Try regenerating the token in Facebook Developers.
β My deals are not posting on Facebook
- Ensure your Facebook Page is enabled for posting.
- Check permissions (
pages_manage_engagement
,pages_manage_posts
). - Make sure the access token is not expiredβextend the token if needed.
β Auto-posting is not working
- Ensure "Post on Facebook" is enabled in Post Settings For Bot.
- Restart the Express Bot to apply changes.
π― Next Steps
β
Now your Facebook Page is connected with Affiliate Solution! π
π Your deals will be automatically posted to Facebook! π₯