RedditBridge

Since Reddit shut down unauthorized JSON API access: https://www.reddit.com/r/modnews/comments/1tq9vxo/protecting_communities_from_scrapers_and_platform/

Unfortunately, Reddit also blocked “easy” setup for developer apps: https://old.reddit.com/wiki/api#wiki_read_the_full_api_terms_and_sign_up_for_usage

The bridge uses Reddit’s legacy unauthenticated endpoint by default. To use Reddit’s OAuth2 API instead, configure both credentials below.

If you want to use the OAuth2 API, you need to either:

  • Submit a request for an app using Reddit’s Data API and somehow get it approved by Reddit.

  • Already have an existing app - they still seem to work.

In both cases you need to have a private “script” app and its “id” and “secret”: https://old.reddit.com/prefs/apps

“Id” should be visible right in the base view; secret is available when selecting “edit”.

You’ll also need a private RSS-Bridge instance to set up your own configuration.

In config.ini.php add the following configuration:

[RedditBridge]
app_id = "<ID>"
app_secret = "<secret>"

The bridge will handle OAuth, refresh bearer, etc., if both app_id and app_secret are configured. If either, or both, are missing, then the bridge falls back to legacy unauthenticated access.