[twitter-dev] twurl with streaming API?
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 pretty lame and short-lived. It would be nice if twurl supported the streaming API. If it does, can you clue me in? Thanks, Dan -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] twurl with streaming API?
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 something like twitter4j or phirehose as a programatic way to consume the Streaming API. Best, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris On Sun, Dec 26, 2010 at 12:42 AM, dcheckoway dchecko...@gmail.com wrote: 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 pretty lame and short-lived. It would be nice if twurl supported the streaming API. If it does, can you clue me in? Thanks, Dan -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] twurl with streaming API?
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 AM, Matt Harris thematthar...@twitter.comwrote: 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 something like twitter4j or phirehose as a programatic way to consume the Streaming API. Best, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris On Sun, Dec 26, 2010 at 12:42 AM, dcheckoway dchecko...@gmail.com wrote: 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 pretty lame and short-lived. It would be nice if twurl supported the streaming API. If it does, can you clue me in? Thanks, Dan -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk