This project has moved. For the latest updates, please go here.

Tweet count

Sep 16, 2013 at 1:05 PM
I'm trying to get the count of all tweets made by a user. I don't want the content I just want to make a call that can pull back a single value. When you log into the twitter website it shows you how many tweets to date so I'm assuming I should be able to get that value from somewhere. Does anyone know how to get this?
Sep 16, 2013 at 2:15 PM
Edited Sep 16, 2013 at 2:16 PM
Found my answer. I was trying to get this value through the account entity but I found it in the user object
var tUser =
                    (from user in twitterCtx.User
                    where user.Type == UserType.Lookup &&
                    user.UserID == twitterUserId
                    select user).FirstOrDefault();

return tUser.StatusesCount;