I am using the Python tweepy
library.
I was successfully able to extract the 'liked' and 're-tweet' counts of a tweet using the below code:
# Get count of handles who are following you
def get_followers_count(handle):
user = api.get_user(handle)
return user.followers_count
# Get count of handles that you are following
def get_friends_count(handle):
user = api.get_user(handle)
return user.friends_count
# Get count of tweets for a handle
def get_status_count(handle):
user = api.get_user(handle)
return user.statuses_count
# Get count of tweets liked by user
def get_favourite_count(handle):
user = api.get_user(handle)
return user.favourits_count
However, I couldn't find a way to get the reply counts of a particular tweet.
Is it possible to get reply count of a tweet using tweepy or any other library like twython or even twitter4j?