diff --git a/Getting-an-imgur-token-&-album-hash.md b/Getting-an-imgur-token-&-album-hash.md new file mode 100644 index 0000000..2cadf9d --- /dev/null +++ b/Getting-an-imgur-token-&-album-hash.md @@ -0,0 +1,25 @@ +This quick tutorial will teach you how to get your token to make authed uploads via Imgur. + +### 1. Registering an app + +First of all, go add an app to your Imgur account by clicking on this link: https://api.imgur.com/oauth2/addclient + +Set `Application name:` to whatever you want, `Authorization callback URL:` to a domain you control (or a dummy value like `example.org`) and `Email:` & `Description:` to your needs. + +After this, you will get a `Client ID`, copy it. + +### 2. Getting the token + +To get the token, go to this link `https://api.imgur.com/oauth2/authorize?client_id=&response_type=token&state=askin-01` replacing `` by the previously copied one. + +After some loading (you may have to accept something from Imgur) you should get a response like this `https:///?state=askin-01#access_token=&expires_in=315360000&token_type=bearer&refresh_token=&account_username=&account_id=` + +Now, just copy the `` and paste it into the `Imgur Acces Token` field in the settings dialog of Glowing-Bear. + +### 3. Getting a album hash + +Go to Imgur, click on your album and look at the URL. + +The URL should be structured like `https://imgur.com/a/` + +As you may have guessed it, just copy the `` part and paste it into the "Imgur Album Hash" field in the Glowing-Bear's settings dialog. \ No newline at end of file