Twitter API: how to get the number of people who added a tweet to favorites / replied to it?

I can easily get the number of retweets through "GET / user_timeline statuses", but I could not get information for answers and favorites. There is one property in the tweet object called "favorited", but it is always empty, I think it is for some other purposes. Any ideas? Thanks!

+4
source share
2 answers

You can only know up to 100 retweets. You can get the number by calling the GET endpoint status / show /: id . The value is in the retweet_count field.

You cannot request favorites from other users. The Favorites field indicates that the authenticated user (whom you authenticated as) prefers a tweet.

+1
source

https://dev.twitter.com/docs/api/1.1/get/statuses/show/%3Aid

The new version of the API method contains the retweet_count and favorite_count fields (even if you do not see favorite_count in the documentation that exists, try it).

+1
source

All Articles