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.

536 questions
5
votes
1 answer

uploading to Imgur v3 using Java https errors

I'm currently trying to upload to imgur using their current API v3, however I keep getting the error error: javax.net.ssl.SSLException: hostname in certificate didn't match: api.imgur.com != imgur.com OR imgur.com The error is pretty…
Validus
  • 61
  • 5
4
votes
1 answer

How to implement imgur api (image host) on a website?

I came across http://api.imgur.com and thought that would be a usefull tool to use on my website. I then noticed that StackOwerflow uses it too, so it must be good ))) Although I'm struggling when I try to implement it. I took a look…
Ilja
  • 35,872
  • 66
  • 218
  • 401
4
votes
2 answers

Getting elements from selected area in Javascript

I need to implement getting elements from selected area in Javascript. This is needed to make a better, desktop-like UI in chrome app. The nearest example is selecting area in Imgur extension: So the question is: How this selecting can be done in…
Dmitrii Sorin
  • 3,639
  • 3
  • 28
  • 39
4
votes
1 answer

Q: OAuth2 for Imgur giving me over capacity status 500 error

I am trying to follow a tutorial for an image upload application For Vue.js however I am unable to authenticate with OAuth2 for Imgur. I am following exactly what the imgur API docs instructions are on how to implement it so I'm pretty sure my code…
hayreenfly
  • 53
  • 1
  • 6
4
votes
0 answers

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
  • 49
  • 3
4
votes
3 answers

Imgur embed does not show image in Angular web app

Embedded Imgur image does not appear. Sometimes, it appears briefly, then disappears. This page does not contain the image. It only shows a blank. Looking at the source, it follows the same Imgur code. It also has embed.js at the bottom of the…
Jonas Arcangel
  • 2,631
  • 9
  • 45
  • 79
4
votes
2 answers

How to upload video from the API imgur

I'm using imgur API and I have several question, what is the size limit for uploading a .gif ? I read everywhere the size limit of picture is 10Mb and gif are 20Mb but when I try to upload a gif of 11Mb with the API it tells me it's too heavy. Also…
Gaeguri
  • 152
  • 13
4
votes
1 answer

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
  • 766
  • 9
  • 25
4
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…
4
votes
2 answers

Imgur images returning 403

I've been making a react app and recently whenever I try to access images from imgur like so this.setState({ imgUrl: `https://i.imgur.com/${this.props.image.id}b.png`, imgBigUrl: `https://i.imgur.com/${this.props.image.id}l.png` }); And it's…
4
votes
2 answers

How do you get access_token and refresh_token from Imgur?

Project I am using: ImgurNet from nuget (source: https://github.com/0xdeafcafe/ImgurNet) It seems like it needs all those parameters: { "client_id": "Insert your imgur client_id here", "client_secret": "Insert your imgur client_secret…
Xavier Peña
  • 6,033
  • 7
  • 49
  • 91
4
votes
1 answer

Upload file to imgur using php and retrieve the link

I have a HTML form with a file upload button. I want the user to be able to select an image and submit the form, then the server should upload the file to imgur using PHP and retrieve the direct link of that image (meaning the URL should end with…
Adib
  • 279
  • 1
  • 4
  • 16
4
votes
1 answer

Imgur OAuth2 Authentication and Upload C#

I have created a C# Windows Form Program that enables the user to drag and drop an image, pasting the url to that image into a text box. I now have to do the API side of this and authenticate with Imgur. Since I will be the only one using this…
user4191887
  • 257
  • 2
  • 12
4
votes
1 answer

Getting image data using the Imgur API and PHP

I'm quite new to php and I'm trying to use the imgur API (My code is based on several tutorials) What I'm trying to do is get an image from imgur display it on a web page. So I'm using this code '; $ch = curl_init(); …
lxkmxl
  • 81
  • 1
  • 7
4
votes
1 answer

How can I get imgur.com album images using ajax request

I used this code : (function($){ var albumID = 'NNbeO'; var albumAPI = "https://api.imgur.com/3/album/" + albumID + "/images"; $.ajax({ url: albumAPI, headers:{ 'Authorization':'xxxxxxxx…
Arif
  • 4,274
  • 3
  • 40
  • 64
1 2
3
35 36