Microsoft.Owin.Security.Twitter for authentication + custom C# code with HttpClient and Json.NET
Something like:
using (var client = new HttpClient())
{
client.BaseAddress = new Uri("https://api.twitter.com/1.1/");
client.DefaultRequestHeaders.Authorization = authValue;
var response = await client.GetAsync("search/tweets.json");
if (response.IsSuccessStatusCode)
{
var json = await response.Content.ReadAsStringAsync();
var tweets = JsonConvert.DeserializeObject(json);
}
}
Good read:
- Extending HttpClient with OAuth to Access Twitter (Feb, 2012)
- Calling a Web API From a .NET Client (C#)
- Official documentation: OAuth API, REST API, Streaming API