I am using Single User Authorization. See my authorization routine below.
private static ITwitterAuthorizer DoSingleUserAuthorization(string consumerKey, string consumerSecret, string OAuthToken, string AccessToken)
if (string.IsNullOrWhiteSpace(consumerKey)) throw new ArgumentNullException("consumerKey");
if (string.IsNullOrWhiteSpace(consumerSecret)) throw new ArgumentNullException("consumerSecret");
if (string.IsNullOrWhiteSpace(OAuthToken)) throw new ArgumentNullException("OAuthToken");
if (string.IsNullOrWhiteSpace(AccessToken)) throw new ArgumentNullException("AccessToken");
// configure the OAuth object
var auth = new SingleUserAuthorizer
Credentials = new InMemoryCredentials
ConsumerKey = consumerKey,
ConsumerSecret = consumerSecret,
OAuthToken = OAuthToken,
AccessToken = AccessToken
// Remember, do not call authorize - you don't need it for SingleUserAuthorizer.
The OathToken and AccessToken have been generated from our Twitter account and copied into our application. It works fine to authenticate. I've been able to run and pull tweets using this before.
However, I have noted that when I run this from my corporate location, I frequently get the following response from Twitter when I attempt to pull tweets from a list.
Response from Twitter: Rate limit exceeded. Clients may not make more than 150 requests per hour.
How can I be hitting the Twitter API limit of 150 requests per hour when I am authenticated. I thought that limit was 350 requests per hour.
When pulling batched tweets from the list, is each batch pull considered 1 request or is each tweet in the batch counted?
Any info would be appreciated. We've got a corporate Twitter account and lists that we're using to stuff our database and this is preventing us from getting any tweets.