Modify

#596 closed enhancement (fixed)

OAuth support for Twitter

Reported by: ilf@… Owned by: geert
Priority: normal Milestone:
Component: Twitter 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:2 Changed at 2010-04-25T08:37:16Z by wilmer

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 wilmer

(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 wilmer

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 wilmer

Resolution: fixed
Status: newclosed

changeset:devel,563.

It worked for me overnight. Should be fine. I'll polish the last bits right in devel.

Modify Ticket

Action
as closed The owner will remain geert.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.