DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Last post Author Topic: NANY 2013 Release: sImgurUploader  (Read 73,979 times)

techidave

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,046
Re: NANY 2013 Release: sImgurUploader
« Reply #25 on: December 27, 2013, 01:28 AM »
Awesome thanks for adding this Skwire :) 
Unfortunately, mine seems to be adding "URL" tags rather than "IMG" tags!  :D
http://i.imgur.com/FcSZR.png
Note to others: The INI is not in the Screenshot Captor/Tools folder, it's in the App Data Folder..  Such as C:\Users\<my name>\AppData\Roaming\Skwire Empire\sImgurUploader

What's the difference between "img" tag and "url" tag?

skwire

  • I eat Coding Snacks for breakfast...
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,297
    • Participated in NANY Challenge Seventeen Times
    • Coding Snacks
    • Superboy Coder
    • Cody Award
    • Volunteers/Staff
    • Gathering Badge
Re: NANY 2013 Release: sImgurUploader
« Reply #26 on: December 27, 2013, 01:33 AM »
What's the difference between "img" tag and "url" tag?

It was a screwup on my part.  kunkel321 had asked for

techidave

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,046
Re: NANY 2013 Release: sImgurUploader
« Reply #27 on: December 27, 2013, 01:52 AM »
I still don't understand the difference?  Are both tags the same thing?

Do they look the same?

techidave

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,046
Re: NANY 2013 Release: sImgurUploader
« Reply #28 on: December 27, 2013, 01:54 AM »
So I guess according to google that "img" is short for image.  Wasn't aware there was one.

skwire

  • I eat Coding Snacks for breakfast...
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,297
    • Participated in NANY Challenge Seventeen Times
    • Coding Snacks
    • Superboy Coder
    • Cody Award
    • Volunteers/Staff
    • Gathering Badge
Re: NANY 2013 Release: sImgurUploader
« Reply #29 on: December 27, 2013, 01:56 AM »
I still don't understand the difference?  Are both tags the same thing?
Do they look the same?

Apologies, I should have been more specific.  kunkel321 had asked for the image URL to be wrapped like this:

Code
[img]http://i.imgur.com/ErDIg9W.jpg[/img]

I had initially coded his request like this:

Code
[url]http://i.imgur.com/ErDIg9W.jpg[/url]

Does that help clear things up?

techidave

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,046
Re: NANY 2013 Release: sImgurUploader
« Reply #30 on: December 27, 2013, 02:00 AM »
Forgive me skier but coding is like learning a foreign language!  :D

Doesn't both tags do the same thing?

techidave

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,046
Re: NANY 2013 Release: sImgurUploader
« Reply #31 on: December 27, 2013, 02:02 AM »
If you have both tags on the same page referring to the same photo, won't both show the same photo or image?

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Re: NANY 2013 Release: sImgurUploader
« Reply #32 on: December 27, 2013, 03:41 AM »
@techidave: one shows the image in-line while the other points to the location which you have to click to view. :)

e.g. this is a link

this is the image

techidave

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,046
Re: NANY 2013 Release: sImgurUploader
« Reply #33 on: December 27, 2013, 06:41 AM »
thanks lanux.  so do all img tags show up behind a button?

Sorry, I am just having a hard time wrapping my head around all this.  :-[

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Re: NANY 2013 Release: sImgurUploader
« Reply #34 on: December 27, 2013, 11:20 AM »
thanks lanux.  so do all img tags show up behind a button?

Sorry, I am just having a hard time wrapping my head around all this.   :-[

actually the button is due to the [spoiler] tag since the image was quite large and i didn't want to annoy anyone by leaving such a large image out in the open. :)

another example without the spoiler tag:
i type this: [img]http://i.imgur.com/5ZrVJmi.png[/img]

and i get this:

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,970
    • Gathering Badge
    • Participated in NANY Challenge Once
Re: NANY 2013 Release: sImgurUploader
« Reply #35 on: January 30, 2014, 11:30 AM »
You must have your own Imgur Anonymous API key for this application to work.  On its first run, sImgurUploader will ask you to enter your API key.  Without one, the application will exit.  If you do not have an Imgur Anonymous API key, you can get one here: http://imgur.com/register/api_anon.

anyone got any tips for getting the API key?
Dont know what to select here at #1. Also no clue with #2:

[attachthumb=#]

=> I'm veering towards 'b' for #1 (with #2 empty then), but thought I'd better check :)

thanks
Tom

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Re: NANY 2013 Release: sImgurUploader
« Reply #36 on: January 30, 2014, 12:27 PM »
anyone got any tips for getting the API key?
Dont know what to select here at #1. Also no clue with #2:
(see attachment in previous post)
=> I'm veering towards 'b' for #1 (with #2 empty then), but thought I'd better check :)

hmm, they must have changed the registration part. previously there was only a "register an application" page where you key-in your name/email/app desc. then enter a reCaptcha code and you're good to go. The following page will give you your API key.

skwire

  • I eat Coding Snacks for breakfast...
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,297
    • Participated in NANY Challenge Seventeen Times
    • Coding Snacks
    • Superboy Coder
    • Cody Award
    • Volunteers/Staff
    • Gathering Badge
Re: NANY 2013 Release: sImgurUploader
« Reply #37 on: January 30, 2014, 02:33 PM »
sImgurUploader only works with an anonymous API account so I'd choose the "Anonymous usage without user authorization" option (and leave the second part blank).

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,649
    • Participated in NANY Challenge Eleven Times
    • Coding Snacks
    • Linux User
    • Hardware Hacker
Re: NANY 2013 Release: sImgurUploader
« Reply #38 on: January 30, 2014, 02:47 PM »
What application name to use, sImgurUploader?
AFAICS, it requires a callback URL, suggestions?
And where can we change/replace the API key used by sImgurUploader? Found it, {userprofile}\AppData\Roaming\Skwire Empire\sImgurUploader\sImgurUploader.ini
/Ton
Ath's software collection, Quote: "A problem well stated is a problem half-solved." (Charles Kettering)

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,970
    • Gathering Badge
    • Participated in NANY Challenge Once
Re: NANY 2013 Release: sImgurUploader
« Reply #39 on: January 30, 2014, 10:46 PM »
sImgurUploader only works with an anonymous API account so I'd choose the "Anonymous usage without user authorization" option (and leave the second part blank).

I'm not allowed to leave part two blank :-(

[attachthumb=#]

So,
I tried 1b (see post #35) and got this:

[attachthumb=#]

which looked to me that, for authorisation, I type
Authorization: Client-ID xxxxxxxxxxxxxxxxxxxxxx (xxxxx... being the client ID given)
no joy, so I tried variations with the 'Application name'; then with both Client ID's, and then everything (I think :-[) without 'Authorisation' before - tbh I made the mistake of not keeping track of everything I tried ... :-\

Any ideas :)


edit // here's the link shown in image #2 - https://api.imgur.com/oauth2
edit #2 // maybe I have to give it a bit of time (and make a sacrificial offering ;D ) before it will work?
Tom
« Last Edit: January 30, 2014, 10:53 PM by tomos »

kunkel321

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 626
    • Participated in NANY Challenge Once
Re: NANY 2013 Release: sImgurUploader
« Reply #40 on: February 24, 2014, 06:39 PM »
Fooie.

I ran in to the same problem as Tomos...
Does anyone know if there is a workaround for this?

BGM

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 566
    • Participated in NANY Challenge Seven Times
Re: NANY 2013 Release: sImgurUploader
« Reply #41 on: December 16, 2014, 07:46 PM »
I want to use this program to send screenshots from ScreenshotCaptor.

I am not sure what settings I need for the anonymous API (I wish it would use my account though).

Application Name:  sImgurUploader
Authorization Type:  Anonymous usage without user authourization
Authorization callback URL:   ??????  What do I put here?

[edit]
Sorry - I didn't see the tail of this thread where folks asked this question already....

Skwire, there are a lot of settings there for imgur - is it still necessary to use anonymous mode?

skwire

  • I eat Coding Snacks for breakfast...
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,297
    • Participated in NANY Challenge Seventeen Times
    • Coding Snacks
    • Superboy Coder
    • Cody Award
    • Volunteers/Staff
    • Gathering Badge
Re: NANY 2013 Release: sImgurUploader
« Reply #42 on: December 18, 2014, 10:24 PM »
Hi, BGM, and sorry for the trouble.  Yes, I'm aware that Imgur have really changed up things and getting an anonymous key isn't how it used to be.  Researching this is on my list but there are quite a few things ahead of it.

BGM

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 566
    • Participated in NANY Challenge Seven Times
Re: NANY 2013 Release: sImgurUploader
« Reply #43 on: December 19, 2014, 01:55 AM »
Jody - no problem.  Hey - I just looked at your ICQ profile (just make sure I remembered correctly that your name was Jody) - you are exactly 4 days older than me - same month; same year! 

No worries for imgur - and beggars like me can't be demanders.  Thanks for the reply.

kunkel321

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 626
    • Participated in NANY Challenge Once
Re: NANY 2013 Release: sImgurUploader
« Reply #44 on: January 25, 2016, 06:20 PM »
Hi Skwire and All,

It looks like Imgur is moving toward another version change in their API...  I got the following email: 
Hi Imgur API user!
It looks like you’re using version 1 or 2 of the Imgur API. We’re reaching out now to let you know that, starting on March 28, 2016, these versions will no longer be supported.
We encourage you to migrate your application to Imgur API version 3 before this date. If you need some assistance with that, feel free to check out api.imgur.com for documentation. If your application uses authorization, you will also need to upgrade to oauth 2.0.
If you have any questions, we’d be happy to help at api+deprecate@imgur.com.
Best,
The Imgur API team


Is there any chance this new one will be sImgurUploader-friendly?  I guess what I'm asking is whether sImgurUploader can be made to work with it...  I already got my new creds and tried them, but they don't work. 

I ran into the same problem as mentioned above, Imgur REQUIRES as callback address.  I just used my own Imgur main page, because I didn't know what else to use. 

EDIT:  I checked out your (Skwire's) profile to see if you were still active....  That's an impressive lineup of badges!  :up:

skwire

  • I eat Coding Snacks for breakfast...
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,297
    • Participated in NANY Challenge Seventeen Times
    • Coding Snacks
    • Superboy Coder
    • Cody Award
    • Volunteers/Staff
    • Gathering Badge
Re: NANY 2013 Release: sImgurUploader
« Reply #45 on: January 26, 2016, 05:00 AM »
As sImgurUploader stands now, there is no way it is going to work with the new API.  If I can find the time (won't be for several weeks at least), I can look into updating it for the new API.

Original address: https://www.donationcoder.com/forum/index.php?topic=33204.0