This is the most possible example of a BASIC that throws an exception.
TwitterService service = new TwitterService(API_KEY,API_SECRET);
service.UserAgent = "StackBot";
OAuthRequestToken request = service.GetRequestToken();
Uri uri = service.GetAuthorizationUri(request);
Console.WriteLine(uri.ToString());
string verifier = "123456";
OAuthRequestToken requestToken = new OAuthRequestToken();
OAuthAccessToken access = service.GetAccessToken(requestToken, verifier);
Here is the exception:
Unhandled Exception: System.ArgumentNullException: Argument cannot be null.
Parameter name: query
at System.Compat.Web.HttpUtility.ParseQueryString (System.String query, System.Text.Encoding encoding) [0x00000] in: 0
at System.Compat.Web.HttpUtility.ParseQueryString (System.String query) [0x00000] in: 0
at TweetSharp.TwitterService.GetRequestToken (System.String callback) [0x00000] in: 0
at TweetSharp.TwitterService.GetRequestToken () [0x00000] in: 0
at Namespace.Class.Main (System.String [] args) [0x00049] in Main.cs: 179
Note. I am using Mono 2.6 on the 64-bit version of Ubuntu 10.10.