FoPost LogoFoPost Docs
WordPressPlatform Configuration

Reddit

Configure Reddit in the FoPost WordPress plugin.

Reddit

Configure the OwlStack WordPress plugin to publish posts to Reddit subreddits.

Prerequisites

You need a Reddit account and a registered Reddit app.

Getting Reddit API Credentials

  1. Go to Reddit App Preferences
  2. Click Create App or Create Another App
  3. Choose script as the app type
  4. Set the redirect URI to http://localhost
  5. Note your client ID (below the app name) and client secret
  6. Generate an Access Token using OAuth 2.0

Subreddit Rules

Each subreddit has its own posting rules and rate limits. Automated posting may violate some subreddits' rules. Always check the subreddit's guidelines before enabling auto-publish.

Settings

Navigate to OwlStack > Reddit in the WordPress admin.

FieldDescription
Access TokenReddit OAuth access token
SubredditTarget subreddit name (without r/)
UsernameYour Reddit username

Step-by-step

  1. Go to OwlStack > Reddit in your WordPress admin
  2. Paste your Access Token
  3. Enter the target Subreddit name (e.g., wordpress)
  4. Enter your Reddit Username
  5. Click Save Settings

Testing

After saving your settings:

  1. Click Test Connection to verify your access token
  2. Click Send Test Message to submit a test post
  3. Check the subreddit to confirm your post appeared

Publishing

Once configured, Reddit appears as a toggle in the OwlStack meta box on post edit screens.

Programmatic publishing

// Submit a link post
owlstack()->reddit('Check out our new article', [
    'type' => 'link',
    'url'  => 'https://example.com/post',
]);

// Submit a text post
owlstack()->reddit('Here is my content for the subreddit.');

Constraints

ConstraintValue
Max title length300 characters
Max self-text length40,000 characters
Rate limit~10 requests per minute
Supported post typesLink, Text, Image, Video

Troubleshooting

IssueSolution
"Unauthorized" errorAccess token may have expired; regenerate it
"Forbidden"You may not have permission to post in the subreddit
"RATELIMIT"Wait before posting again; Reddit enforces strict rate limits
Post removedCheck the subreddit's rules for self-promotion policies

On this page