This guide walks you through connecting Reddit so MokonyxSocial can publish your Joomla content as a link (or text) submission to a subreddit you pick. Keep in mind each subreddit sets its own posting rules, flair requirements, and rate limits — MokonyxSocial submits your post, but the subreddit's moderation still has the final say.
What you need
- A Reddit account with enough karma and age to post in your target subreddit — many subreddits restrict new or low-karma accounts.
- The name of the subreddit you want to post to (or your own profile,
u_). - A Reddit app (script type) and an OAuth access token with the
submitandidentityscopes.
Get your credentials
Access token access_token (required)
This is an OAuth 2.0 bearer token that lets MokonyxSocial submit posts as your account. It needs the submit scope (and identity, so the test can confirm who you are).
Here's how to get one:
- Log in to the Reddit account you want to post from.
- Go to https://www.reddit.com/prefs/apps (or Reddit → Settings → Safety & Privacy → "Manage third-party app authorization" → developer apps).
- Click Create app (or Create another app). Pick the script type for a single account, give it a name, and set the redirect uri to
http://localhost:8080— any valid URI works; the form just requires one. - Once it's created, note the client ID (the string right under the app name) and the secret.
- Get a token through the OAuth flow. For a script app, you can request one from
https://www.reddit.com/api/v1/access_tokenusing your client ID/secret and account login, asking for thesubmit identityscopes (addreadif you like). Be sure to send a descriptiveUser-Agent— Reddit requires it, e.g.MokonyxSocial/1.0 by u_yourname. - Copy the returned
access_tokenand paste it into theaccess_tokenfield.
Heads up: Reddit access tokens are short-lived (about an hour) unless you use a refresh token. If MokonyxSocial isn't managing refresh for you, regenerate the token whenever posts start failing with a 401.
Subreddit subreddit (optional)
This is the subreddit your post goes to, without the r/ prefix (so Joomla, not r/Joomla). Leave it blank to post to your own profile (u_).
Here's how to find it:
- Open the subreddit on Reddit — its name is right in the URL:
reddit.com/r/. - Enter just
(likewebdev). - Make sure the subreddit allows link posts and that your account meets its requirements (age, karma, flair). It's smart to try a test subreddit like
r/testfirst.
Set it up in MokonyxSocial
- In Joomla admin, go to Components → MokonyxSocial → Services → New.
- Choose Reddit.
- Enter your
access_token(and asubredditif you're not posting to your profile). - Click Send Test to verify, then Save & Close and make sure it's Published.
Verify
Open reddit.com/r/ (or your profile) and check that your submission is there. Using r/test is a low-risk way to confirm everything works.
Troubleshooting
- "401 Unauthorized" — your access token expired (they last about an hour). Regenerate it.
- "403 Forbidden" or SUBREDDIT_NOTALLOWED — your account doesn't have permission there (too new, too little karma, or banned). Try
r/testor a subreddit you moderate. - "SUBMIT_VALIDATION_FLAIR_REQUIRED" — the subreddit requires post flair that the submission didn't set. Choose a subreddit without mandatory flair, or add flair support.
- "RATELIMIT" / "you're doing that too much" — Reddit throttles frequent posting. Space your submissions out.
Notes & limits
- Every subreddit enforces its own rules, karma/age gates, and rate limits — a successful post isn't guaranteed.
- Titles are capped at 300 characters; anything longer gets trimmed.
- Reddit really discourages spammy self-promotion, so auto-posting to communities you don't participate in can get your account actioned.
- Tokens are short-lived, so expect to refresh or regenerate them periodically.