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
0
votes
1 answer

Submitting uploaded Imgur image to gallery

This is a follow up question to: uploading a file to imgur via python I just uploaded an image to Imgur, but I've noticed it isn't public for view. At their API website they say that after its uploaded if you want it to be public you should submit…
Arturo
  • 3,679
  • 6
  • 34
  • 43
0
votes
1 answer

jQuery GET request responding correctly in Chrome and not FIrefox

$.ajax({ url: 'https://api.imgur.com/3/album/' + sharedAlbumID, type: 'GET', beforeSend: function(xhr){xhr.setRequestHeader('Authorization', 'Client-ID '+imgurClientID);}, success: function(resp) { var dataLink =…
Manic
  • 143
  • 2
  • 9
0
votes
2 answers

can't fetch base64 of image created using PHP using fopen and file_get_contents?

So, what I want is where user can upload image, a PHP script will add watermark to it,a nd the pic will be hosted on imgur using imgur API Adding watermark to the image and hosting it to imgur is not the problem, but the problem is: to upload image…
gamehelp16
  • 1,101
  • 1
  • 7
  • 22
0
votes
1 answer

Create anonymous album imgur api version 3

How do I create an anonymous album (not tied to an account) with the imgur API version 3? I've tried everything I can think of but I always get either a 403 forbidden or 405 method not allowed... POST https://api.imgur.com/3/album…
jjxtra
  • 20,415
  • 16
  • 100
  • 140
0
votes
1 answer

Problems uploading to imgur using my key?

var values = new NameValueCollection { { "key", "key_edited_for_security" }, { "image", Convert.ToBase64String(ms.ToArray()) } }; byte[] response = w.UploadValues("https://api.imgur.com/2/upload.xml", values); This is working just fine,…
Levi H
  • 3,426
  • 7
  • 30
  • 43
0
votes
1 answer

How to do cURL php using AJAX to make a live request?

I am currently using this code:
Choose your file here:
user1973551
  • 29
  • 1
  • 8
0
votes
1 answer

Why Is The Imgur API slow compared to the website

public sealed class ImgurUpload { public event EventHandler UploadComplete; public void PostToImgur(string location, string key, string name = "", string caption = "") { try { using…
Caster Troy
  • 2,796
  • 2
  • 25
  • 45
0
votes
1 answer

android upload to imgur and retrieve path to img

I have been reading on imgur.coms examples and also on stackoverflow.com on how to upload images to imgur.com to upload the image i use this code: Bitmap bitmap = image; // Creates Byte Array from picture ByteArrayOutputStream baos = new…
Rudman
  • 11
  • 4
0
votes
1 answer

JSON coming back with syntax error? (IMGUR API)

ETA: Here's the JSFiddle, check your console: http://jsfiddle.net/GZNwK/1/ So I'm just trying to load a subreddit from the IMGUR API: $.getJSON('http://imgur.com/r/cats.json?callback=?',function(data){ console.log(data) }) But I end up with…
alt
  • 13,357
  • 19
  • 80
  • 120
0
votes
1 answer

Imgur uploads working via client-side javascript but not node.js. Flummoxed

This works: $.post( 'http://api.imgur.com/2/upload.json', { key: 'dsfdwerwersf53534dfsfse3', image: 'http://i.imgur.com/UH17u.png' }, function( data ) { console.log(…
vjk2005
  • 678
  • 1
  • 12
  • 23
0
votes
1 answer

Uploading Image to Imgur on Windows Phone

I'm currently trying to build an app that involves the user selecting a photo from their library (or taking a photo) and uploading it to Imgur. I have already built a fairly robust C# Imgur client for Windows Forms applications, but unfortunately…
William Thomas
  • 2,108
  • 3
  • 22
  • 32
0
votes
1 answer

Retroactively passing token information, after receiving it from the Imgur API using requests-oauth

I'm new to using any API, as well as HTTP requests, so I'm having some trouble. I'm not sure how to pass token information to the API, after I get it from a GET request. The imgur API says it needs the three endpoints: http://api.imgur.com/auth but…
TankorSmash
  • 12,186
  • 6
  • 68
  • 106
-1
votes
1 answer

How to change the aspect ratio of image and upload to Imgur?

I have a drop zone where you can drop or select images. And I am using a background-image property to display the image. I am building a post scheduler for Instagram and the API requires an Image to have an aspect ratio between the range of 4:5 to…
Aryan
  • 1
  • 1
-1
votes
2 answers

Cannot deserialize the current JSON objectinto type 'System.Collections.Generic.List because the type requires a JSON arrayto deserialize correctly

I'm playing around with the Imgur API and having trouble deseralizing the JSON response. My JSON looks like this: { "data":{ "id":"zPBszkd", "title":null, "description":null, "datetime":1634033771, "type":"image\/png", …
Jackk1337
  • 1
  • 1
  • 3
-1
votes
1 answer

Imgur Api Fetching Gallery using Fetch es6

I have to create a gallery of image using IMGUR API . I have client id which i made using imgur website . Now i have to fetch data from gallery which can be from section like top, user ,viral . I am not sure how to pass…
KUMAR SUBHAM
  • 19
  • 1
  • 1
  • 7