holiveira
holiveira

Reputation: 4515

How can I display recent tweets from a group of users in ASP.Net website?

I'm developing a Asp.Net website and I need to display the four most recent tweets from a group of users (around ten) that will be set in the admin area of the website. I know twitter has an API, but I don't know where to start. Any help would be really appreciated.

Upvotes: 0

Views: 587

Answers (3)

Mikael Svenson
Mikael Svenson

Reputation: 39695

Check out the WCF REST Starter Kit doc. Here's a sample from the page:

HttpClient http = new HttpClient("http://twitter.com/statuses/");
http.TransportSettings.Credentials = new NetworkCredential("{username}", "{password}");
HttpResponseMessage resp = http.Get("friends_timeline.xml");
resp.EnsureStatusIsSuccessful();
ProcessStatuses(resp.Content.ReadAsStream());

Also download the kit from http://msdn.microsoft.com/en-us/netframework/cc950529.aspx.

Upvotes: 1

Jason
Jason

Reputation: 89102

Several .NET Libraries that interface with the Twitter API

http://dev.twitter.com/pages/libraries#csharp

Upvotes: 0

Joe Enos
Joe Enos

Reputation: 40393

There's a wrapper-type API called Yedda that's ridiculously easy to use. I got it working in just a few minutes, and it's pretty self-explanatory.

http://devblog.yedda.com/index.php/twitter-c-library/

Upvotes: 0

Related Questions