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

2010-05-17 Thread Jef Poskanzer
Twurl is just what I need, a command-line OAuth getter. Except it's written in a language I don't have so it's useless to me. Before turning off basic auth twitter needs to provide their own official implementation of a CLI OAuth getter, written in plain old C.

[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?

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

2010-05-16 Thread kuhkatz
Am 15.05.2010 21:38, schrieb Patrick Kennedy: I bet coffee and 10 seconds with either of you would fix my problem, but no worries. On Sat, May 15, 2010 at 9:02 PM, kuhkatzkuhk...@googlemail.com wrote: Am 14.05.2010 23:40, schrieb Faried Nawaz: On May 15, 12:41 am,

[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

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

2010-05-15 Thread Patrick Kennedy
Faried - I'm sure it mostly my new newness to Ruby; rake/make files are not my strong area as well. If it's fairly small changes, can you provide those changes? Basically, why patch it - if I can just use a replacement file. But since it's not provided yet, maybe you can demonstrate those

[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.

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

2010-05-15 Thread kuhkatz
Am 14.05.2010 23:40, schrieb Faried Nawaz: On May 15, 12:41 am, kuhkatzkuhk...@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

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

2010-05-15 Thread Patrick Kennedy
I bet coffee and 10 seconds with either of you would fix my problem, but no worries. On Sat, May 15, 2010 at 9:02 PM, kuhkatz kuhk...@googlemail.com wrote: Am 14.05.2010 23:40, schrieb Faried Nawaz: On May 15, 12:41 am, kuhkatzkuhk...@googlemail.com  wrote: so i suppose i am doing things

[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.

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

2010-05-14 Thread Patrick Kennedy
Hi, Faried - I tried it too, since I have Linux 10.04, and it also has a problem at the patching part, even provided your two ways to execute the diff. I'm also new to Ruby stuff. $ patch -i twurldiff patching file Rakefile Hunk #1 FAILED at 2. Hunk #2 FAILED at 69. 2 out of 2 hunks FAILED --

[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

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

2010-04-30 Thread Nathaniel K Smith
On Apr 26, 8:24 pm, Scott Schulz swsch...@gmail.com wrote: I've installed ruby, gems, etc, and install twurl via gem, but when I run it, I get the following: /usr/local/lib/ruby/gems/1.9.1/gems/twurl-0.6.1/lib/twurl/request_controlle r.rb:2:in `module:Twurl': uninitialized constant

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

2010-04-22 Thread Kartik
Hi, I installed RubyGems and did this sudo gem i twurl --sourcehttp://rubygems.org Then tried to use twurl but it gives a error : twurl: command not found Please tell me what am I missing ? Also, how do we use twurl with PHP ? cURL can be used with the PHP built in functions. Kartik On Apr

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

2010-04-21 Thread Jaanus
I can't get it to authorize. my-mac:~ jaanus$ twurl authorize --consumer-key blabla --consumer- secret blabla You must authorize first huh? On Apr 20, 3:13 pm, Marcel Molina mar...@twitter.com wrote: We've announced that come June 2010, Basic Auth will no longer be supported via the Twitter

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

2010-04-21 Thread Marcel Molina
There is a fix for this. In the meantime you can pass in the -u and -p (username password) command line options and it will force the PIN work flow and you'll be able to authorize. On Wed, Apr 21, 2010 at 1:14 PM, Jaanus jaa...@gmail.com wrote: I can't get it to authorize. my-mac:~ jaanus$