Interface Credentials

Reddit API application credentials

To get these values:

  1. Log into Reddit and go to https://www.reddit.com/prefs/apps/.
  2. Scroll to the bottom and click 'are you a developer? create an app...'.
  3. Select the type of application you wish to make. Most likely this will be 'script'.
  4. Put in a name and redirect uri (it don't matter what you put, but you can't leave them blank).
  5. (optional) Add your main account as a developer.
  6. The ID is just below the name of the application, and the secret is where it says "secret"

Where to find the client ID and secret

interface Credentials {
    clientId: string;
    clientSecret: string;
}

Properties

clientId: string

The ID of your Reddit application.

clientSecret: string

The secret of your Reddit application.