Opened at 2010-04-19T12:20:34Z
Closed at 2010-04-28T07:53:43Z
#596 closed enhancement (fixed)
OAuth support for Twitter
Reported by: | Owned by: | geert | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Version: | 1.2.6 | |
Keywords: | Cc: | ||
IRC client+version: | Client-independent | Operating System: | Public server |
OS version/distro: |
Description
Twitter should support OAuth. Basic auth is set to be disabled in June: http://apiwiki.twitter.com/OAuth-FAQ#WhenareyougoingtoturnoffBasicAuth
The authentication could be done similarly to tircds way:
Connect to tircd with the username of "oauth". Tircd will make a challenege to twitter, and twitter will provide a link to tircd for you to authorize the connection. Follow the link, make sure you are logged into twitter as the user you wish to use tircd as, and then click Allow to allow the connection. Twitter will then present you with a PIN number. To complete your connection to tircd, type: /stats pin <PIN NUMBER>. On some clients that honor the irc protocol and do not expect you to be sending a stats command before connecting you may have to type: /quote stats pin <PIN NUMBER>. Tircd will then attempt to authorize the connection using the provided PIN.
Attachments (0)
Change History (6)
comment:1 Changed at 2010-04-19T12:36:00Z by
comment:2 Changed at 2010-04-25T08:37:16Z by
http://www.countdowntooauth.com/
Motivational page. :-)
(I knew of the June date, looks like they really mean it.)
comment:4 Changed at 2010-04-26T00:49:20Z by
(Maybe not obvious to everyone, but: only OAuth-enabled clients can get anything but "via API" or "via web" under their tweets.)
The code works but needs to be tied into the UI.
comment:5 Changed at 2010-04-27T23:27:19Z by
That works properly now. I'm running it fulltime and will see if it keeps working. Hope to merge it tomorrow or so. Bye-bye "via API"!
comment:6 Changed at 2010-04-28T07:53:43Z by
Resolution: | → fixed |
---|---|
Status: | new → closed |
It worked for me overnight. Should be fine. I'll polish the last bits right in devel.
OAuth Documentation: http://dev.twitter.com/pages/auth