On Wed, 24 Nov 2010 15:00:52 +0100, Vincent Lefevre wrote:

Hi Vincent,

thanks alot for testing!

> > http://people.debian.org/~gregoa/tmp/bti/
> > Could you please try them with identi.ca and OAuth?
> No problem with Twitter.

Good to know it stills works :)
 
> With identi.ca, there may still be a problem: the first step worked,
> i.e. I got an access token key and secret, which I put in my config
> file. 

Good!

> But then:
> ypig:~> bti --config .bti-identica --host identica --action friends
> unexpected document type

Hm, that can be anything in the request ...
 
> But now it works. There could have been a temporary failure, though.

Probably ...



Alright, I tried it myself now:
1) registered an application at https://identi.ca/settings/oauthapps/new 
2) added consumer_key and consumer_secret into ~/.bti_oauth
3) ran bti:

$ bti --config ~/.bti_oauth
Please open the following link in your browser, and allow 'bti' to access your 
account. Then paste back the provided PIN in here.
http://identi.ca/api/oauth/authorize?oauth_token=$token
PIN: $pin_copied_from_above_URL
Please put these two lines in your bti configuration file (~/.bti):
access_token_key=$key
access_token_secret=$secret

4) added access_token_key and access_token_secret to ~/.bti_oauth
5) tried an action:

$ bti --config ~/.bti_oauth --action friends
[$nick] $message
...

6) tried to post something:

$ bti --config ~/.bti_oauth
tweet: testing bti with oauth on identi.ca ...

result: https://identi.ca/notice/59185668

7) Summary: works perfectly :)



Mehdi:
The situation from my point of view is like this:

* 026-1 (squeeze): doesn't work with twitter (oauth), works with
  identi.ca (basic auth), doesn't work with identi.ca (oauth) - bad
* 028-1 (sid): works with twitter (oauth), works with
  identi.ca (basic auth), doesn't work with identi.ca (oauth) -
  better (twitter fixed, no regression for identi.ca but still ...)
* 028-2 (pending): works with twitter (oauth), works with
  identi.ca (basic auth), works with identi.ca (oauth) - good!

Since you have already offered to unblock (liboauth and) bti 028-1,
I'd suggest that I upload 028-2 to unstable (with the new (one-line)
patch (and a fix for a typo in the README.Debian, if you don't mind))
if you agree to unblock it.


Cheers,
gregor

-- 
 .''`.   http://info.comodo.priv.at/ -- GPG key IDs: 0x8649AA06, 0x00F3CFE4
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe
   `-    NP: Sting: Fields Of Gold

Attachment: signature.asc
Description: Digital signature

Reply via email to