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

how to get friendscount of other users using screenname

Mar 23, 2014 at 4:45 PM
i am using following code but it only returns for my account only i need to get others details with my app credentials is this possible ??
         var twitterCtx = new LinqToTwitter.TwitterContext(auth);

            var accounts =
            from acct in twitterCtx.Account
            where acct.Type == AccountType.VerifyCredentials
            select acct;

            Account account = accounts.SingleOrDefault();

            User user = account.User;
            Status tweet = user.Status ?? new Status();
                "User ID: {0}\nScreen Name: {1}\nTweet: {2}\n Tweet ID: {3}",

            string followerscount = user.FriendsCount.ToString();
            string tweetscount = user.StatusesCount.ToString();
Mar 25, 2014 at 6:34 PM

This looks like the same question as this:

To follow up to your second question - you need to write your own code to same Twitter data to a database. LINQ to Twitter is focused on supporting what is available via the Twitter API.