Quantcast
Channel: Tweetinvi a friendly Twitter C# library
Viewing all articles
Browse latest Browse all 4126

New Post: User Agent

$
0
0
Greetings Linvi,

I am also having the same issue. The rate limit I'm getting back is 180 instead of 450. I'm using ASP.NET MVC 5, .NET 4.5.1.

I set my credentials early on (I'm guessing this is similar to creating the credentials as mentioned by ARS1625 above):
     TwitterCredentials.SetCredentials(accessToken, accessTokenSecret, consumerKey, consumerSecret);
I then store the rate limit on my Model for later reference from the View:
     // Get Rate Limits in Controller
     twitterSearchModel.RateLimits = RateLimit.GetCurrentCredentialsRateLimits();
Later on, I then reference it from my View.
     @Model.RateLimits.SearchTweetsLimit.Limit
I read that for Application-only authentication that you need to be using OAuth 2.0? Do I get 180 because it's using OAuth 1.0A instead?

Thanks for your Help Linvi,
-Paul

Viewing all articles
Browse latest Browse all 4126

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>