Dear all, Merry Christmas!
I just have a quick question about the URL encode when writing a cURL command in shell. The following command works: curl http://search.twitter.com/search.json?geocode=37.781157%2C-122.398720%2C15km > test.txt However, if I want to put more parameters like "lang=en&rpp=100&page=1" in http, I encoded "&" as "%26" in the following way but it didn't work: curl http://search.twitter.com/search.json?geocode=37.781157%2C-122.398720%2C15km%26lang=en%26rpp=100%26page=1 > test.txt It complained that: {"error":"The within: operator requires distance and units of 'mi' or 'km'"} So this "%26" immediately after "15km" seems to cause problems. Any ideas how to fix it? Many thanks for the help! epomqo -- 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
