[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

[twitter-dev] Re: URL encode problem

2010-12-26 Thread epomqo
Thanks for the reply David, happy holidays too! I tried with your suggestion, however the following cURL command in shell script still cannot export search result to a .txt file: curl http://search.twitter.com/search.json?geocode=37.781157,-122.398720,15kmlang=enrpp=100page=1 searchrecord.txt

Re: [twitter-dev] Re: URL encode problem

2010-12-26 Thread Adam Green
On Sun, Dec 26, 2010 at 5:11 AM, epomqo wenzi0...@gmail.com wrote: And apparently the lang parameter sometimes doesn't work: I still get tweets in other languages. From my experience the lang parameter, is not a language detection algorithm. It just pays attention to the language the user

[twitter-dev] Re: URL encode problem

2010-12-26 Thread epomqo
Thanks Adam. I will carefully look at the results from the lang parameter. From the screen display above: [1] Donecurl http://search.twitter.com/search.json?geocode=37.781157,-122.398720,15km [2]- Donelang=en [3]+ Donerpp=100 It

Re: [twitter-dev] Re: URL encode problem

2010-12-26 Thread Adam Green
I have never used cURL directed to a file in this way. I always call it from PHP. Doing it that way I have always gotten results with the rpp and page parameter used together with keywords. On Sun, Dec 26, 2010 at 5:57 AM, epomqo wenzi0...@gmail.com wrote: Thanks Adam. I will carefully look at

Re: [twitter-dev] Re: URL encode problem

2010-12-26 Thread Matt Harris
It looks like you're running curl from the command line. Try wrapping the entire URL in quotes - this would make your request: curl http://search.twitter.com/search.json?geocode=37.781157,-122.398720,15kmlang=enrpp=100; file.txt Alternatively leave out the quotes and escape the . e.g.

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

[twitter-dev] Re: URL encode problem

2010-12-26 Thread epomqo
Both of the solutions work! Seems the link was broken by the before... Thanks very much for all of your kind help even on these holidays! :-) Best, epomqo On Dec 26, 4:48 pm, Matt Harris mhar...@twitter.com wrote: It looks like you're running curl from the command line. Try wrapping the

[twitter-dev] Re: 401 error what am i doing wrong here (user search)

2010-12-26 Thread Cujo
No, the search term does not contain any escapable characters. I ruled that out allready as the source for incorrect signature -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker:

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

[twitter-dev] Create an application in order to export some twitter account

2010-12-26 Thread gillouche
Hello, I would like to export on my personal website, some twitter account and which could be actualised in real time. But I have an error message. I think its because i use a classic authentification. If a use a OAuth protocol, will not be stopped? I have readen Sources :

[twitter-dev] Search Twitter Lists which has followers

2010-12-26 Thread nsrags
How do i find lists that are in twitter which has more than 50 followers . Is there any API available ?? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker:

[twitter-dev] Receiving Incorrect Signature for REST API Method: users search

2010-12-26 Thread Arvind S
Receiving Incorrect Signature error for the following request I have made: {request:\/1\/users\/search.json?q=Simhadri,error:Incorrect signature} Grackle::TwitterError: get http://api.twitter.com/1/users/search.json?q=Simhadri = 401: {request:\/1\/users\/search.json? q=Simhadri,error:Incorrect

[twitter-dev] Re: dose twitter has xoauth api?

2010-12-26 Thread shiyuan ding
hi tom many thanks I sorry for my poor english , I think I got my answer , I will try the xauth first . ths best regards On 12月26日, 上午8时55分, Tom van der Woerdt i...@tvdw.eu wrote: You don't *have* to get the PIN, as there are 3 different way of letting the user log in. However, for