Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

See what images were uploaded to imgur using my app ClientID?

Tags:

imgur

I'm using the https://api.imgur.com/3/image to upload images from JavaScript without oauth.
Is it possible to see what images were uploaded recently using my Client-ID?

like image 408
shoosh Avatar asked Jun 11 '16 08:06

shoosh


People also ask

Does Imgur store images forever?

Forever! An image is only removed if deletion is requested.

Does Imgur store data?

Information you post. Imgur does not “collect” the stuff you post: images, comments, messages, etc., and – with respect to persons in the EEA – does not “process” or determine any purposes for processing of any information that you manifestly make public.

How long do images stay in Imgur?

Imgur keep images for ever as long as they are receiving at least 1 view every six months. If they are not they may be deleted to save space. Popular images and those shared on Imgur will probably meet this criteria due to becoming viral and being better accessible.


1 Answers

Unfortunately it's not directly possible but I think the following approach will give good results: use the following endpoint to retrieve all your associated images:

https://api.imgur.com/3/account/{username}/images

Or the following for account submitted images:

https://api.imgur.com/3/account/{username}/submissions/

For the Username you can use 'me' and you need to send the Client-ID using the correct header:

'Authorization: Client-ID YOUR_CLIENT_ID'

This will return all the images uploaded from the account and you need to filter them yourself.

If you are uploading them to a gallery and want to know only these you can set the time window in the request ( week, day, etc.)

like image 95
rfkortekaas Avatar answered Sep 28 '22 06:09

rfkortekaas