topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Tuesday March 19, 2024, 6:32 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: NANY 2013 Release: sImgurUploader  (Read 49025 times)

techidave

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,044
    • View Profile
    • Donate to Member
Re: NANY 2013 Release: sImgurUploader
« Reply #25 on: December 26, 2013, 07:28 PM »
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

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: NANY 2013 Release: sImgurUploader
« Reply #26 on: December 26, 2013, 07:33 PM »
What's the difference between "img" tag and "url" tag?

It was a screwup on my part.  kunkel321 had asked for [img] tags and I initially coded it (wrongly) as [url] tags.

techidave

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,044
    • View Profile
    • Donate to Member
Re: NANY 2013 Release: sImgurUploader
« Reply #27 on: December 26, 2013, 07:52 PM »
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,044
    • View Profile
    • Donate to Member
Re: NANY 2013 Release: sImgurUploader
« Reply #28 on: December 26, 2013, 07:54 PM »
So I guess according to google that "img" is short for image.  Wasn't aware there was one.

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: NANY 2013 Release: sImgurUploader
« Reply #29 on: December 26, 2013, 07:56 PM »
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:

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

I had initially coded his request like this:

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

Does that help clear things up?

techidave

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,044
    • View Profile
    • Donate to Member
Re: NANY 2013 Release: sImgurUploader
« Reply #30 on: December 26, 2013, 08:00 PM »
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,044
    • View Profile
    • Donate to Member
Re: NANY 2013 Release: sImgurUploader
« Reply #31 on: December 26, 2013, 08:02 PM »
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
    • View Profile
    • Donate to Member
Re: NANY 2013 Release: sImgurUploader
« Reply #32 on: December 26, 2013, 09:41 PM »
@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,044
    • View Profile
    • Donate to Member
Re: NANY 2013 Release: sImgurUploader
« Reply #33 on: December 27, 2013, 12: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
    • View Profile
    • Donate to Member
Re: NANY 2013 Release: sImgurUploader
« Reply #34 on: December 27, 2013, 05: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,958
    • View Profile
    • Donate to Member
Re: NANY 2013 Release: sImgurUploader
« Reply #35 on: January 30, 2014, 05: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:

Screenshot - 2014-01-30 , 12_25_24.pngNANY 2013 Release: sImgurUploader

=> 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
    • View Profile
    • Donate to Member
Re: NANY 2013 Release: sImgurUploader
« Reply #36 on: January 30, 2014, 06:27 AM »
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

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: NANY 2013 Release: sImgurUploader
« Reply #37 on: January 30, 2014, 08:33 AM »
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,610
    • View Profile
    • Donate to Member
Re: NANY 2013 Release: sImgurUploader
« Reply #38 on: January 30, 2014, 08:47 AM »
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

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,958
    • View Profile
    • Donate to Member
Re: NANY 2013 Release: sImgurUploader
« Reply #39 on: January 30, 2014, 04: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 :-(

Screenshot - 2014-01-30 , 22_04_28.pngNANY 2013 Release: sImgurUploader

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

Screenshot - 2014-01-30 , 23_25_27.pngNANY 2013 Release: sImgurUploader

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, 04:53 PM by tomos »

kunkel321

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 597
    • View Profile
    • Donate to Member
Re: NANY 2013 Release: sImgurUploader
« Reply #40 on: February 24, 2014, 12: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: 562
    • View Profile
    • bgmCoder DC
    • Read more about this member.
    • Donate to Member
Re: NANY 2013 Release: sImgurUploader
« Reply #41 on: December 16, 2014, 01: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

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: NANY 2013 Release: sImgurUploader
« Reply #42 on: December 18, 2014, 04: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: 562
    • View Profile
    • bgmCoder DC
    • Read more about this member.
    • Donate to Member
Re: NANY 2013 Release: sImgurUploader
« Reply #43 on: December 18, 2014, 07:55 PM »
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: 597
    • View Profile
    • Donate to Member
Re: NANY 2013 Release: sImgurUploader
« Reply #44 on: January 25, 2016, 12: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 [email protected].
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

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: NANY 2013 Release: sImgurUploader
« Reply #45 on: January 25, 2016, 11:00 PM »
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.