Popular Post J2TeaM Posted July 19, 2015 Popular Post Share Posted July 19, 2015 (edited) This is an AutoIt UDF to help you upload images using Imgur API.Simple example:#NoTrayIcon #include 'Imgur.au3' Global $fp = FileOpenDialog('Open', @ScriptDir, 'Images (*.jpg;*.gif;*.png;*.bmp)', 1) If Not @error Then Local $image_url = _imgur_upload($fp) If @error Then MsgBox(16 + 262144, 'Error', 'Upload image failed!') Else ; Open with default browser ShellExecute($image_url) EndIf EndIfDownload: Imgur UDF by Juno_okyo.zipGithub: https://github.com/J2TeaM/AutoIt-Imgur-UDF-----In the UDF, I have used Base64 and JSON UDF by @Ward. Thank you! Edited July 19, 2015 by J2TeaM Added Github URL jaberwacky, kid1232, zductai231 and 3 others 6 My UDF/Example Scripts: Imgur UDF | AutoIt & PHP/MySQL | Font Icon UDF | Awesome AutoIt My Blog: https://junookyo.blogspot.com/ Link to comment Share on other sites More sharing options...
zductai231 Posted July 20, 2015 Share Posted July 20, 2015 Can you make that by WinHTTP ? Link to comment Share on other sites More sharing options...
J2TeaM Posted July 21, 2015 Author Share Posted July 21, 2015 (edited) Can you make that by WinHTTP ?The source code is very clean. So, if you want, you can convert to WinHttp by yourself, it is open source. Currently, it has simple as possible. Edited July 21, 2015 by J2TeaM zductai231 1 My UDF/Example Scripts: Imgur UDF | AutoIt & PHP/MySQL | Font Icon UDF | Awesome AutoIt My Blog: https://junookyo.blogspot.com/ Link to comment Share on other sites More sharing options...
Scrappy53 Posted July 28, 2015 Share Posted July 28, 2015 Where can we get api key? Link to comment Share on other sites More sharing options...
drquochoai Posted December 15, 2015 Share Posted December 15, 2015 (edited) Thanks J2TeaM, your library is very useful.I'm having a small problem is how can we get API KEY?I've just created a couple of Imgur apps but they always return a Client Secret, i can not find the $IMGUR_API_KEY any where.Thanks for your help! Edited December 15, 2015 by drquochoai Link to comment Share on other sites More sharing options...
Zoric Posted August 7, 2016 Share Posted August 7, 2016 I fixed some parts to work with imgur api v3 Here's a working code, http://pastebin.com/PMHYULDE I have also included the .au3 file imgur.v3.au3 J2TeaM 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now