-
Notifications
You must be signed in to change notification settings - Fork 177
Getting an imgur token & album hash
This quick tutorial will teach you how to get your token to make authed uploads via Imgur.
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.
To get the token, go to this link https://api.imgur.com/oauth2/authorize?client_id=<client id>&response_type=token&state=askin-01
replacing <client-id>
by the previously copied one.
After some loading (you may have to accept something from Imgur) you should get a response like this https://<website.tld>/?state=askin-01#access_token=<token here>&expires_in=315360000&token_type=bearer&refresh_token=<refresh token>&account_username=<your nick>&account_id=<your id>
Now, just copy the <token here>
and paste it into the Imgur Acces Token
field in the settings dialog of Glowing-Bear.
Go to Imgur, click on your album and look at the URL.
The URL should be structured like https://imgur.com/a/<hash>
As you may have guessed it, just copy the <hash>
part and paste it into the "Imgur Album Hash" field in the Glowing-Bear's settings dialog.