⚠️

Warning: Never share your X (formerly Twitter) API keys or access tokens with anyone — including Aimkt developers.


These keys are for your personal use only and must be kept secure in your private environment.


Full control of your API access at all times.

Create an app on Reddit Developerrs

Head over to Reddit developers and click on create a new app.

  • Name: MyAimktInstance (or whatever you like)
  • App type: web app
  • Redirect URI: (see below)

The OAuth2 Redirect URI is the location where the provider will redirect to after trying to login. This needs to set to your Aimkt aimkt.xyz + /integrations/social/ + reddit.

  • eg: If you are running on a container, and your Aimkt URL is: https://aimkt.xyz, then your OAuth2 Redirect URI is https://aimkt.xyz/integrations/social/reddit
  • eg: If you are running on localhost, and your Aimkt URL is http://localhost:4200, then your OAuth2 Redirect URI is http://localhost:4200/integrations/social/reddit
  • eg: If you are running on localhost, and the provider doesn't accept http uris, and your Aimkt URL is http://localhost:4200, then your OAuth2 Redirect URI is https://redirectmeto.com/http://localhost:4200/integrations/social/reddit

You only need to set one OAuth2 Redirect URI when you are setting up your Aimkt app.

Set environment variables

Copy the Reddit client id and client secret and add them to your setting.

Go to setting https://aimkt.xyz/settings => Click tab “Social API Keys” => Click button ”+ Add New” add new

Reddit

REDDIT_CLIENT_ID=""
REDDIT_CLIENT_SECRET=""