Questions tagged [imgur]

Imgur is a free and popular image hosting service that does not require registration to use.

Imgur is a free and popular image hosting service that does not require registration to use.

572 questions
9
votes
2 answers

Imgur API Failed to load

I get this in the console: Failed to load https://api.imgur.com/3/image: The 'Access-Control-Allow-Origin' header contains the invalid value ''. Origin 'https://example.org' is therefore not allowed access. and this is my code: var…
keydo
  • 93
  • 5
7
votes
1 answer

Imgur api responding with code 403 with server error 429

I'm trying to upload a image using html form with imgur api(react). I've selected OAuth 2 authorization with a callback URL when registering api. The problem is that api is wont work with error 429 (sometimes net::ERR_HTTP2_PROTOCOL_ERROR). This is…
kyr_min
  • 153
  • 1
  • 8
7
votes
2 answers

Imgur API - Getting "Too many Request" error even though 'X-Ratelimit-Userremaining' is not 0

I am uploading images through the Imgur API (https://apidocs.imgur.com/) but I am getting a 'Too many Request' (err 429) even thought the previous request returned 'X-Ratelimit-Userremaining=1216'. My understanding is that I should be able to do…
ortis
  • 2,203
  • 2
  • 15
  • 18
7
votes
1 answer

uploading a file to imgur via python

I'm having trouble uploading an image to Imgur using the python requests module and the Imgur API. My code is the following: import base64 import json import requests from base64 import b64encode client_id = 'my-client-id' headers =…
Arturo
  • 3,679
  • 6
  • 34
  • 43
6
votes
2 answers

Imgur block my IP?

I upload 12 image to imgur every half hour. But meet this issue. Imgur ERROR message: {'exception': [], 'code': 429, 'type': 'ImgurException', 'message': 'You are uploading too fast. Please wait -0 more minutes.'} I don't understand why is -0…
Jim
  • 1,550
  • 3
  • 20
  • 34
6
votes
2 answers

How to set non-random file names on imgur.com

How can I set images to have non random file names on imgur.com? When I upload an image, a random string gets assigned to it. How would I link to an image like username.imgur.com/meaningful_file_name.jpg instead of…
s hanley
  • 69
  • 1
  • 2
6
votes
1 answer

Imgur API GET image issues

This is my first time using this site, but I have exhausted most of my resources trying to find an answer. I'm teaching myself how to program and I'm stuck on my first API project. As the overall goal, I wanted to make a web site that allows you to…
6
votes
3 answers

Retrofit2 java.lang.NoClassDefFoundError: okhttp3/Call$Factory in JAVA

I am not developing a Android Application , I'm just writing some JAVA codes to support Imgur API services. public interface ImgurAPI { String server = "https://api.imgur.com"; String BASE64 = "base64"; @POST("/3/upload") void…
OOD Waterball
  • 707
  • 1
  • 11
  • 31
6
votes
1 answer

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

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?
shoosh
  • 76,898
  • 55
  • 205
  • 325
6
votes
2 answers

How to form an anonymous request to Imgur's APIv3

A while ago, I made a python function which took a URL of an image and passed it to Imgur's API v2. Since I've been notified that the v2 API is going to be deprecated, I've attempted to make it using API v3. As they say in the Imgur API…
Azure Flash
  • 111
  • 1
  • 5
5
votes
2 answers

Uploading a png to imgur using javascript

I'm trying to use Javascript to upload a png to imgur. I've used the code directly from the Imgur API example, but I don't think I am passing the png file properly as I get an error message saying file.type is undefined. I think the file is ok as…
djq
  • 14,810
  • 45
  • 122
  • 157
5
votes
1 answer

Android, uploading a photo to host on imgur programatically

I have tried different methods to upload and retrieve a link via imgur but none have been successfull despite looking at the imgur api. http://api.imgur.com/examples#uploading_java But the following methods partly works.. im trying to…
asd2005
  • 315
  • 2
  • 5
  • 12
5
votes
1 answer

Imgur API BUG Too many Requests by image upload

I am uploading images through the Imgur API (https://apidocs.imgur.com/) but I am getting a 'Too many Request' (err 429) even thought the previous request returned 'X-Ratelimit-Userremaining=12500'. My understanding is that I should be able to do…
S B
  • 79
  • 4
5
votes
2 answers

Upload image to imgur failed because of cors

I'm trying to upload an image to imgur with js (browser) and get a CORS error: Access to XMLHttpRequest at 'https://api.imgur.com/3/upload' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header…
Michael
  • 896
  • 10
  • 28
5
votes
4 answers

Imgur API Authorization issues

I've been teaching myself how to use react and meteor and I'm following a course on Udemy. The first project we have to do requires the imgur gallery endpoint which is : https://api.imgur.com/3/gallery/hot/viral/0.json. Obviously however I get the…
John Tanner
  • 61
  • 1
  • 6
1
2
3
38 39