Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

OAuth with AHK


  • Please log in to reply
11 replies to this topic
Voltron43
  • Members
  • 76 posts
  • Last active: May 06 2011 07:48 PM
  • Joined: 27 Mar 2009
Does anybody know how to implement OAuth with AHK?

SoLong&Thx4AllTheFish
  • Members
  • 4999 posts
  • Last active:
  • Joined: 27 May 2007
Bump

It no longer seems possible to use httpquery to post a tweet, would anyone be able to provide an OAuth solution for AutoHotkey?

Reference:
<!-- m -->http://blog.twitter.... ... oauth.html<!-- m -->
<!-- m -->http://dev.twitter.com/pages/oauth_faq<!-- m -->

Frankie
  • Members
  • 2930 posts
  • Last active: Feb 05 2015 02:49 PM
  • Joined: 02 Nov 2008
There is a code example page. I think google's python code example is the clearest.
aboutscriptappsscripts
Request Video Tutorials Here or View Current Tutorials on YouTube
Any code ⇈ above ⇈ requires AutoHotkey_L to run

SoLong&Thx4AllTheFish
  • Members
  • 4999 posts
  • Last active:
  • Joined: 27 May 2007
Still Greek to me. :cry:

I have a few private scripts that can now no longer tweet status updates which is frustrating :(

n-l-i-d
  • Guests
  • Last active:
  • Joined: --
Wait until curl/libcurl gets OAuth support?

Hack liboauth?

:)

SoLong&Thx4AllTheFish
  • Members
  • 4999 posts
  • Last active:
  • Joined: 27 May 2007
I only understand AHK :D I'm looking into cmdline twitter apps, there seem to be a couple of those <!-- m -->http://www.floodgap....ftware/ttytter/<!-- m -->

gingerbeard
  • Guests
  • Last active:
  • Joined: --
I wrote a script that would add tasks to a website via twitter, but this Oauth stuff is waaay out of my league.

I guess I just have to wait for some smart cookie to come up with a solution. :cry:

Icarus
  • Members
  • 851 posts
  • Last active: Jan 02 2012 11:17 AM
  • Joined: 24 Nov 2005
This OAuth stuff is way of of most people's league.... quite an annoying authentication method.

It seems that there are a handful of people out there developing "wrappers" in all languages, and everybody else waits for them to do so...

Anyone found a Autohotkey OAuth port?
Sector-Seven - Freeware tools built with AutoHotkey

SoLong&Thx4AllTheFish
  • Members
  • 4999 posts
  • Last active:
  • Joined: 27 May 2007
See some posts in this facebooker thread:
<!-- m -->http://www.autohotke... ... 084#422084<!-- m -->
<!-- m -->http://www.autohotke... ... 365#423365<!-- m -->
but ideally it should be done via httpquery?

sumon
  • Moderators
  • 1317 posts
  • Last active: Dec 05 2016 10:14 PM
  • Joined: 18 May 2010
Someone convinced me to post a request on DonationCoder about it, but I don't see why I didn't post it here atleast to start with. Anyway, quoting that post:

In short, an OAuth is a series of procedures (Server requests, URL-encoding, sorting keys, sending and receiving data, etc.) allowing a user to give the application (script, web app, etc.) access to some functions on his/her account of a specific site, such as Twitter, imgur, etc.

Sometimes coding has the potential to unleash more coding, in a positive sense. By developing an OAuth function for AHK you would enable a great community to do even greater things, communicating with web 2.0. Most site APIs nowdays require OAuth for atleast some of the functions, but there's no current solution for OAuthing with Autohotkey. It also might enable more donationware, and atleast very useful ware, which increases the possibility for donations.

Note that this request is more of a function/library/code request than an application request.

Read more about OAuth and see some Twitter implementation examples here: <!-- m -->http://apiwiki.twitt.../OAuth-Examples<!-- m -->


I really wanna see this happen, but I'm afraid it'd be a bit too much for me. I read it through and it seems doable, but maybe I would need guidance or so. Let's do a community effort?

Icarus
  • Members
  • 851 posts
  • Last active: Jan 02 2012 11:17 AM
  • Joined: 24 Nov 2005
I saw your donation coder post. Nice.

I think the main problem with OAuth is that it was not designed with desktop applications in mind.
The whole concept is built on the notion that authentication is done in the browser, in the natural environment of the "first party" app.

The fact that it requires a "callback URL" may mean that any desktop app using it may need to run a local web server.

At least as far as I could understand.
Sector-Seven - Freeware tools built with AutoHotkey

sumon
  • Moderators
  • 1317 posts
  • Last active: Dec 05 2016 10:14 PM
  • Joined: 18 May 2010
Donationcoder inofficial (?) reply: This should be handled on the Autohotkey level, that is - here. I agree. If someone is up for an important task, give the rest of us a shout so we can support you both in spirit and action.