1

I've been using Tweepy to listen to a Twitter stream. For some reason, all the posts have 0 favorite_count & retweet_count.

Do I have to go after some time and request an update for Tweet IDs?

I would expect to get any update from the stream object. Otherwise, it is very limited, even with the 100 IDs per request, as the rate is very low compared to the tens of thousands I'm getting in the stream.

Harmon758
  • 5,084
  • 3
  • 22
  • 39
Nir
  • 2,497
  • 9
  • 42
  • 71

1 Answers1

3

If you're using the statuses/filter API, you're getting Tweets in realtime, so they've all just been Tweeted and wouldn't have any favorites/likes or Retweets.

Harmon758
  • 5,084
  • 3
  • 22
  • 39
  • Is there a way to add (or have) favorite and retweet count to the stream listener? – Nir Dec 28 '19 at 20:51
  • Those counts are accurate as 0 because as answered, Tweets that have just been Tweeted don't have any favorites or Retweets. – Harmon758 Dec 28 '19 at 20:59
  • I understood that. What I would like is to have real-time updates to tweets by filter keys. – Nir Dec 28 '19 at 21:13
  • 1
    If you mean you want to track favorites and Retweets through realtime streams by tracking keywords, that's not something Twitter's API supports. – Harmon758 Dec 28 '19 at 21:29
  • `statuses/lookup` is my closest option? – Nir Dec 28 '19 at 21:42
  • 1
    If you have multiple Tweet IDs, that would be the way to get the Status/Tweet objects, yes. – Harmon758 Dec 28 '19 at 22:38