Skip to content

Imgur API Credentials

Bas Boellaard edited this page Mar 22, 2018 · 25 revisions

This is a guide to create the Imgur API credentials necessary for Prodosía to function.

https://api.imgur.com/oauth2/addclient

Creating the Imgur API credentials

After going to the specified url at the top, login to Imgur and fill out the registration form.

  • Application name
    The name that will be shown whenever someone logs in through these credentials.
  • Authorization type / Authorization callback URL
    It is not required to use a custom callback URL. If without is chosen, the API credentials will default to using http://imgur.com as callback. If a custom callback is used, it is recommended to make it a low-load site (such as http://google.com) to minimize web traffic.
  • Application website
    Entirely optional, no bearing on functionality.
  • Email
    The Email that will remain associated with these credentials.
  • Description
    The description that will be shown whenever someone logs in through these credentials.

After submitting, the webpage will redirect to a page with the

  • Client ID
  • Client secret

Note:
Keep the Client ID and Client secret safe. If sharing the bot with other people, remove the keys.txt file from the folder before sending it over.

Both of these, along with an optional callback (if it was chosen) must be inserted in the Prodosía application. Ensure that they are copied precise and exact.

If the client-id is erroneous, the first time you will be prompted to authorize it will give the following exception. Erroneous Client ID

If the client secret is erroneous, it will only become apparent once the application is actually in use.

Clone this wiki locally