Using Tweet# to pull 5 most recent updates from a user
Posted
by Richard West
on Stack Overflow
See other posts from Stack Overflow
or by Richard West
Published on 2010-04-06T16:51:26Z
Indexed on
2010/04/06
16:53 UTC
Read the original article
Hit count: 607
I am working on a method that will allow me to pull in the 5 most recent posts that my company has made on it's Twitter account.
One requirement of this web application is that it present these twitter posts as "regular" html in our website, so using the Twitter javascript method is ruled out.
I have found Tweet#, a C# plugin that exposes the Twitter commands. This seems to be a nice way to pull this information but I have a question.
I would like to be able to pull these updates from Twitter without authenticating to Twitter. Since the information is publically available I would think this would be fairly simple, however I'm having a problem with Tweet# wanting to do this.
The cloest I have found to be able to do this requires my to login/authenticate with Twitter and then pull the 5 most recent tweets. Like this:
var twitter = FluentTwitter.CreateRequest()
.AuthenticateAs("UserName", "p@ssw0rd")
.Configuration.CacheForInactivityOf(60.Seconds())
.Statuses().OnUserTimeline().Take(5).AsJson();
What I need is something that will allow my to specific the user id to pull the most recent 5 tweets from without authentication.
© Stack Overflow or respective owner