[twitter-dev] Re: Announcing Twurl: OAuth-enabled curl for the Twitter API

2010-05-17 Thread Faried Nawaz
On May 17, 11:30 pm, Jef Poskanzer jef.poskan...@gmail.com wrote:
 Before turning off basic auth twitter needs to provide their own
 official implementation of a CLI OAuth getter, written in plain old C.

Maybe http://oauth.googlecode.com/svn/code/c/liboauth/ plus an xml
parser?


[twitter-dev] Re: Announcing Twurl: OAuth-enabled curl for the Twitter API

2010-05-15 Thread Faried Nawaz
I tested both git apply patchfile and patch -p 1 -i patchfile
separately before posting the commands, and they both worked for me.
Note that the git command doesn't produce any output, but does patch
the files.

If it still isn't working for you, you can always manually edit the
files.  It's a small change.


Faried.


[twitter-dev] Re: Announcing Twurl: OAuth-enabled curl for the Twitter API

2010-05-15 Thread Faried Nawaz
On May 15, 4:29 pm, Patrick Kennedy kenned...@gmail.com wrote:
 I'm sure it mostly my new newness to Ruby; rake/make files are not my
 strong area as well.

You're not stuck on a Ruby issue.  Try the steps I listed on a new
repository.  At the end, download the gist, and use git apply
patchfile.


 If it's fairly small changes, can you provide those changes?

That's *exactly* what's in the gist: the changes I needed to make it
work.


Faried.


[twitter-dev] Re: Announcing Twurl: OAuth-enabled curl for the Twitter API

2010-05-14 Thread Faried Nawaz
On May 15, 12:41 am, kuhkatz kuhk...@googlemail.com wrote:

 so i suppose i am doing things wrong.
 i followed your instructions, but when i apply the diff, i get this:

 $ patch -i twurldiff

Close.  You can do either one of

patch -p 1 -i twurldiff

or

git apply twurldiff


Faried.


[twitter-dev] Re: Announcing Twurl: OAuth-enabled curl for the Twitter API

2010-05-13 Thread Faried Nawaz
Scott, Nate:

I got it to work with a minor adjustment on Ubuntu 10.04.  I did

apt-get install rake rubygems libopenssl-ruby
gem install oauth
gem install rr
gem install require_all
git clone http://github.com/marcel/twurl.git
apply this diff: http://gist.github.com/400489
rake dist:gem
gem install pkg/twurl-*.gem

You're set.