How to get public feed for a given user

Oct 25, 2011 at 7:43 AM

Hey,

I'm quite new to linqtotwitter and twitter api too.

I need to get the public tweets for a given user account.

I tried this but it does not work.

tweets = from s in ctx.Status
                     where s.Type == StatusType.Public

                     && s.UserID == "moncompte"

                     select s;

and this

tweets = from s in ctx.Status
                     where s.Type == StatusType.Public
                     && s.User.Identifier.ID == "moncompte"
                     select s;

Can anyone help me ?

Thx.

Coordinator
Oct 25, 2011 at 5:56 PM

Hi,

It sounds like you need to use Home Status queries, like this:

http://linqtotwitter.codeplex.com/wikipage?title=Querying%20the%20Home%20Timeline&referringTitle=Making%20Status%20Queries%20and%20Calls

@JoeMayo