Meta Auto-Posting Setup
Automatically publish new blog articles to your Facebook Page and Instagram Business account
Run a connection test to check status
Click Test Connection after entering your credentials
Setup Instructions
1
Create a Meta Developer App
You need a Meta app to access the Graph API for posting.
Go to Meta for Developers- Select Business as the app type
- Add the Facebook Login and Instagram Graph API products
- Set the app to Live mode (not Development) before posting to real pages
2
Get your Facebook Page ID
Your Page ID is a numeric identifier.
- Go to Meta Business Suite, then your Page, then Page settings
- Or use the Graph API Explorer:
GET /me/accountswith a user token that haspages_show_listpermission - Copy the id field, that is your Page ID
3
Generate a long-lived Page Access Token
This token allows your app to post to your Page automatically. It must have these permissions:
pages_manage_posts
pages_read_engagement
pages_show_list
instagram_basic
instagram_content_publish
- Use the Graph API Explorer to generate a user token with the permissions above
- Exchange it for a long-lived user token via the fb_exchange_token flow
- Then get the long-lived Page token:
GET /me/accountswith the long-lived user token, and use the access_token from the response
4
Get your Instagram Business Account ID
Your Instagram must be a Business or Creator account linked to your Facebook Page.
- Query the Graph API:
GET /{page-id}?fields=instagram_business_accountusing your Page token - The instagram_business_account.id field is your Instagram Business User ID
- If it is null, convert your Instagram to a Business account and link it to your Page in Meta Business Suite
5
Enter your credentials in Settings then Secrets
Add these three secrets in the Base44 dashboard.
FACEBOOK_PAGE_ID = your numeric Page ID
FACEBOOK_PAGE_ACCESS_TOKEN = your long-lived Page token
INSTAGRAM_BUSINESS_USER_ID = your IG Business Account ID
Go to your app dashboard, then Settings, then Secrets to add these values
6
Test and you are done
Once credentials are saved, click Test Connection above to verify everything works.
- The auto-posting workflow is already active, it triggers whenever a blog post is published (created or updated to published status)
- Each new published article will automatically post to both Facebook and Instagram with its title, excerpt, featured image, and a link back to your blog
- Duplicate posts are prevented, each blog article is only shared once