views:

164

answers:

1
+2  Q: 

Twitter search c#

Hi,

I have implemented a method which manually scrapes the Search Twitter page and gets the tweets on different pages. But since there is a fast refresh rate, the method triggers an exception. Therefore I have decided to use TweetSharp API instead

 var search = FluentTwitter.CreateRequest()
                           .AuthenticateAs(TWITTER_USERNAME, TWITTER_PASSWORD)
                           .Users()
                           .SearchFor("dumbledore");

var result = search.Request();
var users = result.AsUsers();

this code was on the site. Does anyone know how I can avoid giving my credentials and retrieve from all users and not just the ones I have as friends?

Thanks!

+3  A: 

You'll likely find what you need in the library's unit tests, as the documentation suggests.

Here are a bunch of samples

Ryan Emerle
thnx thats perfect! thanks a lot!! :)
Lily