You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You should be able to pass the follow keyword like this:
stream.filter(follow=['user_id'])
It receives a list of user IDs.
From the API docs, this should return:
Tweets created by the user.
Tweets which are retweeted by the user.
Replies to any Tweet created by the user.
Retweets of any Tweet created by the user.
Manual replies, created without pressing a reply button (e.g. “@twitterapi I agree”).
It doesn't return:
Tweets mentioning the user (e.g. “Hello @twitterapi!”).
Manual Retweets created without pressing a Retweet button (e.g. “RT @twitterapi The API is great”).
Tweets by protected users.
Note
You can specify both track and follow values and it will result in tweets with the input keyword or tweets created by the input user. see here
need help for stream by user
Doc Tweepy
The text was updated successfully, but these errors were encountered: