This project has moved and is read-only. For the latest updates, please go here.

Searching users

Dec 4, 2014 at 6:11 PM
Hi, I'm using this code to search users.

var user =
            (from usr in twitterCtx.User
             where usr.Type == UserType.Search &&
                   usr.Query == "Joe Mayo"
             select usr)

        Console.WriteLine("User Name: " + user.Name);
It goes nice. But what is the function to get the next user? How to iterate? Using the same FirstOrDefault function it returns the same (first) user. Also: why the ScreenName is returned in null? How to get the ScreenName from the user?

Dec 5, 2014 at 3:44 AM

I wrote a blog post on Working with Timelines with LINQ to Twitter. I discusses an older version of LINQ to Twitter, but the concepts of using SinceID and MaxID are the same.

Marked as answer by JoeMayo on 12/16/2014 at 5:12 PM