I'm updating a previous app to the new api. Using NuGet I installed version 184.108.40.206. 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 220.127.116.11. It works!
Updated NuGet package in Win8OAuthDemo to version 18.104.22.168. 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());