[twitter-dev] twurl with streaming API?

2010-12-26 Thread dcheckoway
After authorizing with twurl I tried this: $ twurl -t -H stream.twitter.com /1/statuses/sample.json opening connection to stream.twitter.com... ...and it just sits there. Anybody know if there's a way to use twurl with the streaming API? I can use curl no problem with basic auth, but that's

Re: [twitter-dev] twurl with streaming API?

2010-12-26 Thread Matt Harris
Hi Dan, The Track/Sample Streaming API doesn't support SSL which twurl enables by default. You need to instruct twurl to not use SSL when making requests. For example: twurl --no-ssl -t -H stream.twitter.com /1/statuses/sample.json This is ok for testing and debugging but you want to look at

Re: [twitter-dev] twurl with streaming API?

2010-12-26 Thread Dan Checkoway
Matt, Thanks for the --no-ssl trick, much appreciated! That was staring me right in the face with the --help output and I still managed not to see it. No worries, I'm only trying to use twurl for a test. We do use twitter4j for live firehose access. Thanks, Dan On Sun, Dec 26, 2010 at 10:54