I must be doing something wrong. If I call rate_limit_status with
CURL, I can see 2 different counts, depending on if I pass my
credentials or not. If I do the same thing from a .NET application, I
always get the non-authenticated (IP address limit) results.
I know setting the WebClient credentials this way works, as I call
other twitter API's after authenticating, plus I can call
verify_credentials this way and it works.
Can anyone see what I'm missing or screwing up?
public void TestLimitInfo()
{
WebClient wc = new WebClient();
wc.Credentials = new NetworkCredential( "myuser", "mypass" );
string data = wc.DownloadString( "
http://twitter.com/account/
rate_limit_status.json" );
MessageBox.Show( data );
} // GetLimitInfo
TIA,
J.D.