On Sat, Aug 8, 2009 at 2:37 AM, Chad Etzel<c...@twitter.com> wrote:
> You may have to follow redirects more than once *wink wink nudge nudge*
>
> with curl you can add --location flag. There's a good bit of info in
> the man page as well.

So instead of doing

curl --netrc -s -D - http://twitter.com/account/rate_limit_status.xml

I should be doing

curl --location --referer ";auto" --netrc -s -D -
http://twitter.com/account/rate_limit_status.xml

(where "http://twitter.com/account/rate_limit_status.xml"; is just one example)

TjL

ps - I'm not doing this through PHP, it's all on the commandline

Reply via email to