how to get friendscount of other users using screenname

Mar 23, 2014 at 3: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();
            Console.WriteLine(
                "User ID: {0}\nScreen Name: {1}\nTweet: {2}\n Tweet ID: {3}",
                 user.Identifier.ID,
                 user.Identifier.ScreenName,
                 tweet.Text,
                 tweet.StatusID);

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

This looks like the same question as this:

http://stackoverflow.com/questions/22592845/how-to-get-details-of-other-users-using-screenname-in-linqtotwitterversion-2-1/22595352#22595352

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.

@JoeMayo