python - How do I ge tthe number of likes on a tweet via tweepy? -


i have tweepy tweet object , can see , print favorite_count , retweet_count not see like_count when print member variables of object. knowing number of favorites seems lot less relevant typical use cases of working tweet far more common on twitter favorite it.

i able this:

api = tweepy.api(auth) tweet = api.get_status(tweet_id) print(tweet.retweet_count) print(tweet.favorite_count) 

but doing

print(tweet.like_count) 

does not work , can't see alternative. furthermore when google things "tweepy count of tweet" nothing relevant pops seems odd. how can this?

favourites same likes. there no difference. clicking on heart on twitter increments favourite count.

https://twittercommunity.com/t/hearts-and-likes-are-live/55642


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -