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 -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -