python – 如何串流叽叽叽t witter y y y?

python – 如何串流叽叽叽t witter y y y?

我目前正在使用以下代码,这会得到推文,然后将其传递给处理的函数.这不是实时的. auth = tweepy.OAuthHandler(consumer_key, consumer_secret)auth.set_access_token(access_token, access_token_secret)api = tweepy.API(auth)mentions = api.mention