I'm updating a previous app to the new api. Using NuGet I installed version 126.96.36.199. Pasted in some code from the Win8OAuthDemo. Get this error:
"ArgumentException was unhandled by user code" drill down...
"The 'user-agent' header must be modified using the appropriate property or method.
Parameter name: name"
Mess around for awhile...
Remove nuGet package and add in reference to the working Win8OAuthDemo .dll version 188.8.131.52. It works!
Updated NuGet package in Win8OAuthDemo to version 184.108.40.206. Errors out with same as above.
// auth.IsAuthorized is now true (while debugging)
var twitterCtx = new TwitterContext(auth);
var searchResponse =
(from search in twitterCtx.Search
where search.Type == SearchType.Search &&
search.Query == "linq"
var a = searchResponse.Statuses.Count;
_logger.Log(this, "Twitter search returned statuses", a.ToString());