Get All Retweets from Logged in User's Followers

May 9, 2014 at 4:52 PM
Edited May 10, 2014 at 3:41 PM
Hello everyone,

I got a question : How to get all retweets from logged in user's followers

I already search the document and has code
var myRetweets =
                from retweet in twitterCtx.Status
                where retweet.Type == StatusType.RetweetedToMe
                select retweet;
When i try implement into my project, the StatusType.RetweetedToMe is not on the list.
Is it because of the newest version of linqtotwitter?

Are there any other solution to get the retweets?

Thank you
Coordinator
May 10, 2014 at 4:57 PM
Hi,

It sounds like you want to use a Status/RetweetsOfMe query.

@JoeMayo
May 10, 2014 at 11:49 PM
Edited May 11, 2014 at 11:47 AM
Hi Mr Joe,

Isn't RetweetsOfMe query = the tweets that user send?
I need the query that receive tweets from the followers.
Btw, i have tried and i dn get any retweets. Please help.
  var latestTweets = await (from item in twitterContext.Status
                                      where item.Type == StatusType.RetweetsOfMe && item.Count == 200
                                      select item).ToListAsync();

            StreamWriter fwRetrieveTweets = new StreamWriter("C:\\Desktop\\SentimentAnalysis\\Data Test\\Data Test.txt");
            foreach (var item in latestTweets)
            {
                fwRetrieveTweets.WriteLine(item.Text);
            }
Thank you.