tweet_count for followers or following

43 views
Skip to first unread message

Max Rose-Collins

unread,
Jan 22, 2014, 11:37:09 AM1/22/14
to twitter-...@googlegroups.com
Is there an easy way to get the total tweet count for a users followers or the people they are following?

Thanks

Max Rose-Collins

unread,
Jan 22, 2014, 11:59:38 AM1/22/14
to twitter-...@googlegroups.com
I can see this method in the documentation http://rdoc.info/gems/twitter/Twitter/REST/API/Undocumented:tweet_count but not quite sure how to use it?

sferik

unread,
Feb 10, 2014, 2:53:20 PM2/10/14
to twitter-...@googlegroups.com
On Wednesday, January 22, 2014 5:59:38 PM UTC+1, Max Rose-Collins wrote:
I can see this method in the documentation http://rdoc.info/gems/twitter/Twitter/REST/API/Undocumented:tweet_count but not quite sure how to use it?

This method returns the number of time a URL has been tweeted. To get the number of tweets, followers, etc. for a user, use the Twitter::REST::Client#user method. For example:

user = client.user('sferik')
user.tweets_count # => 13522
user.favorites_count # => 8504
user.followers_count # => 4060
user.friends_count # => 368
user.listed_count # => 214
Reply all
Reply to author
Forward
0 new messages