The following steps will guide you through the simple process of creating a Reddit application.
- Go to the Reddit developer portal and click on Create an App at the bottom of the page.
- It will ask you to fill up some details. You can use the image below as an example. Make sure to replace the about url with your organizaiton's URL, and the redirect url by
Reddit will then give you a client ID and secret. Make sure to copy those and keep them safe.
To set up the integration, you will need to configure Pizzly to use your Reddit app. To do that, you have to run the command
npx pizzly config:create reddit reddit <client-id> <client-secret> "read,mysubreddits" in the pod where your Pizzly instance lives. You can read more about configuring Pizzly here.
What is Pizzly
Pizzly is an open-source library that authenticates with OAuth, manages credentials, and refreshing tokens. From their docs:
Pizzly takes care of the OAuth dance for you and makes sure your access tokens always stay fresh.
Updated about 1 month ago