This connection lets MokonyxSocial post your content straight to a Facebook Page. One thing to know up front: Facebook only lets apps post to Pages, not to personal profiles. To make it work you'll grab an access token from Facebook, and because those tokens can expire, we'll show you how to get one that lasts.
What you need
- A Facebook Page you help run (you're an admin, or you have a role that lets you post and manage posts).
- A free developer app from Meta for Developers — that's how Facebook hands out access tokens.
- Permission for your token to do three things: see your Pages, read Page engagement, and manage (create) Page posts.
Get your credentials
Access token access_token (required)
Think of this as the "key" MokonyxSocial uses to talk to Facebook on your behalf. It can be a User token (tied to your account) or an app/system-user token. Behind the scenes, posting to a Page needs a Page token — but if you give us a User token, we'll fetch the Page token for you automatically. (If you'd rather hand us the Page token directly, see the last field below.)
Here's how to get a User token:
- Head to Meta for Developers (https://developers.facebook.com/apps/) and create an app (or open one you already have). Add the product it suggests for the Graph API.
- Open the Graph API Explorer (https://developers.facebook.com/tools/explorer/).
- Pick your app, then generate a User access token. When it asks for permissions, turn on these three:
pages_show_list,pages_read_engagement, andpages_manage_posts. - Accept the pop-up and copy the token it gives you.
Heads up about expiry: the token you get from the Explorer only lasts about 1–2 hours — great for a quick test, no good for real use. Exchange it for a long-lived token, which lasts about 60 days, before you rely on it. Even those eventually expire, so you'll want to refresh now and then.
Not sure what your token can do or when it expires? Paste it into the Access Token Debugger (https://developers.facebook.com/tools/debug/accesstoken/) — it shows you the permissions and the exact expiry date.
Page ID page_id (optional)
This is the number that identifies your Page. To find it:
- Open your Page's About or Page transparency section — the ID is listed right there.
- Or, in the Graph API Explorer, run
GET /me/accounts. It lists every Page you can manage, each with itsid.
You can leave this empty — if you do, we'll figure out the Page from your token.
Page access token page_access_token (optional)
This is a token tied to one specific Page. If you paste one here, we'll use it as-is to post as your Page — no extra steps on our end.
To get one:
- Run
GET /me/accountsin the Graph API Explorer. Each Page in the list comes with its ownaccess_token— copy the one for your Page. - Or set up a System User under Business settings → Users → System Users in Meta Business Suite, give it access to your Page, and generate a token with those same three permissions.
Our tip: the most reliable choice is a long-lived / non-expiring system-user Page token. Unlike the regular tokens that expire in ~60 days, a system-user token keeps working, so you won't get surprised by a broken connection down the road.
Set it up in MokonyxSocial
- In Joomla admin, go to Components → MokonyxSocial → Services → New.
- Choose Facebook.
- Enter the credentials from the section above.
- Click Send Test to verify the connection, then Save & Close and ensure the service is Published.
Verify
Once Send Test says it worked, go look at your Facebook Page. You should see the test post on the Page's timeline. If it's there, you're all set — MokonyxSocial can now publish to your Page.
Troubleshooting
- You see error 190, or "token expired/invalid": your token ran out (short-lived ones only last an hour or two) or was turned off. Grab a fresh one, swap it for a long-lived token, and save again. The Token Debugger will confirm it's good.
- Posts get rejected with a permissions error: your token is missing
pages_manage_posts(and sometimes the other two). Regenerate it with all three permissions turned on. - Your app is still in "Development mode": in that state, only you and people you've added to the app can post. To post to Pages that aren't tied to the app's own team, Facebook makes you go through App Review to get Advanced Access for managing posts.
- The wrong Page (or no post) shows up: double-check the Page ID from your Page's About section or
GET /me/accounts. - You wanted to post to your personal profile: sorry, Facebook doesn't allow that through apps — Pages only.
- Nothing posts during a busy stretch: Facebook limits how fast you can post. Space things out and try again a bit later.
Notes & limits
- Pages only — there's no way to post to a personal profile through Facebook's API.
- Tokens expire at different rates: the quick Explorer token (~1–2 hours), a long-lived token (~60 days), and a system-user Page token (the most reliable, doesn't expire the same way). Pick the longest-lasting option you can.
- App Review may be required: to manage posts on Pages outside your app's own team, your Meta app needs Advanced Access via App Review. Until then it only works in Development mode for you and your testers.
- Rate limits apply — posting too much too fast can get throttled by Facebook.
- Media: photos and links need to meet Facebook's size/format rules. A shared link uses that link's own preview image and text (its Open Graph tags), not a separately uploaded image.