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

New Post: GetLoggedUser fails intermittently

$
0
0
Every now and again I get an error when I call User.GetLoggedUser()

I thought this might be down to rate limiting since this is done every time I start my development application in the IDE.

However, this morning it started doing it on the second or third run. The error I am getting is

A first chance exception of type 'System.Net.WebException' occurred in System.dll
A first chance exception of type 'System.AggregateException' occurred in mscorlib.dll
A first chance exception of type 'Tweetinvi.Logic.Exceptions.TwitterException' occurred in TweetinviAPI.dll

At the same time I am seeing the http request details in the debugger output window (presumable from Tweetinvi)
GET : https://api.twitter.com/1.1/account/verify_credentials.json
Header OAuth oauth_consumer_key="<HIDDEN>",oauth_nonce="5185860",oauth_signature_method="HMAC-SHA1",oauth_timestamp="1423473040",oauth_token="<HIDDEN>",oauth_version="1.0",oauth_signature="<HIDDEN>"

Any ideas ?
Thanks

Viewing all articles
Browse latest Browse all 4126

Trending Articles



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