I am looking for a way to programmatically generate twitter for a .NET application. Any recommendations on a good wrapper for twitter api to make work easier?
Boaz
TweetSharp seems to be a decent option too .
Microsoft.Owin.Security.Twitter for authentication + C # user 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<Tweets>(json); } }
Good to read:
There is a linq to twitter project on codeplex:
http://www.codeplex.com/LinqToTwitter
Besides the Yedda library , you can read the “Feather Santos” blog from his experience.
Here is a list of all the libraries listed on the Twitter website.
Here is a link to the Twitter REST API documentation.
Here is a link to the Twitters streaming API documentation
You will find an updated list of .NET Twitter libraries on Twitter's developer site:
Twitter Developers: Twitter Libraries (for .NET)
All good answers, LinqToTwitter is good. Also check out my post explaining the basics of using the Twitter API from C # / LINQ, including considering speed limits. (What is important to understand).
http://stuff.seans.com/2009/04/04/a-simple-net-twitter-api-wrapper-using-linq/
Coming soon is the version of my code that automatically adjusts the request speed to your speed limit. (The default is 100 or an hour, or 20,000 / hour if you or your site is white.)
Twitterizer looks like it might be worth it - even open source ... http://www.twitterizer.net/
You can also check Twitteroo . But the food is better. I have a hobby Twitter client project that looks like Google Talk (called jata). Here you can find it here in the codex if you are interested.