Docs / Stackposts

Reddit API

Reddit API Integration The Reddit API module allows administrators to integrate Reddit into Stackposts. Once configured, it enables scheduling, posting, subreddit interaction, and...

Estimated reading: 2 minutes

Reddit API Integration

The Reddit API module allows administrators to integrate Reddit into Stackposts. Once configured, it enables scheduling, posting, subreddit interaction, and account automation via OAuth-secured access.


⚙️ Configuration Fields

To enable the Reddit API, complete the following configuration:

  • Status

    • Enable: Activates Reddit API integration.

    • Disable: Turns it off.

  • Client ID
    The identifier assigned to your app when created on Reddit.
    Example: fwx77PiaJJ1ax3E...

  • Client Secret
    The secret key used to authenticate your app securely.
    Example: vb5umMmYGjRfRY...

  • Scopes
    Comma-separated list of permissions your app is requesting. Example:

    save, modposts, identity, edit, flair, history, modconfig, modflair, modlog, modwiki, mysubreddits, privatemessages, read, report, submit

For more details on available scopes, refer to the Reddit OAuth2 Scopes documentation.


🔁 Callback & App Setup

  • Callback URL:

    https://yourdomain.com/app/reddit/profile

    This must be set as your Redirect URI in your Reddit application configuration.

  • Create Reddit App:
    Register or manage your app at:
    https://www.reddit.com/prefs/apps

Make sure to choose script or web app based on usage.


💾 Save Settings

Click Save changes to apply your Reddit API configuration and enable authentication and interaction with Reddit accounts via Stackposts.


✅ Notes

  • Ensure your Reddit app is not in developer-only mode when moving to production.

  • Stackposts will use OAuth to allow users to authorize their Reddit accounts without revealing login credentials.

  • Reddit has strict rate limits; avoid automation that exceeds their posting thresholds.