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 <[email protected]> wrote: > Thanks Adam. I will carefully look at the results from the "lang" > parameter. > > From the screen display above: > > [1] Done curl > http://search.twitter.com/search.json?geocode=37.781157,-122.398720,15km > [2]- Done lang=en > [3]+ Done rpp=100 > > It seems that the last two parameters "lang" and "rpp" are not treated > together with the main cURL command, and they don't really affect the > search result. I also don't get 100 results after adding the "rpp" > command. Have you ever succeed in running such a multi-parameter query > with cURL and getting an output file? > > Many thanks, > epomqo > > On Dec 26, 11:28 am, Adam Green <[email protected]> wrote: > > On Sun, Dec 26, 2010 at 5:11 AM, epomqo <[email protected]> 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 has set in > their > > profile settings. If they haven't changed it, the default of English is > left > > set, and you get their tweets no matter what the lang parameter is sent > to. > > If you don't use the lang parameter, you get all tweets that match the > > search in any language. If you set lang=en, you get far fewer tweets in > > languages other than English, but at least 10-20% are not in English. Of > > course that depends on whether your search words match another language. > > -- > 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 > -- Adam Green Twitter API Consultant and Trainer http://140dev.com @140dev -- 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
