get tweets a user is mentioned in

Mar 10, 2014 at 4:37 PM

I have successfully set up linqtotwitter (v3.0.2) in a windows console app Implementing Single User Authorization.

What i am now trying to do is get all tweets a particular user has been mentioned in.

I had a look through the documentation/soure code examples and I found the following code:

var tweets =
            (from tweet in twitterCtx.Status
             where tweet.Type == StatusType.Mentions &&
                   tweet.ScreenName == "JoeMayo"
             select tweet)
The problem with this is that it seems to ignore the tweet.ScreenName parameter and uses the screenname of the TwitterContext authorizer.

Anyone know what I am doing wrong?

Mar 25, 2014 at 10:11 PM

Mentions only works for the authorized user. Documented in both LINQ to Twitter and Twitter API:

Marked as answer by lesj on 3/27/2014 at 1:12 AM
Mar 27, 2014 at 8:13 AM