使用twitter api跟踪特定流帐户

2024-06-17 11:02:39 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在尝试使用streamapi跟踪twitter上的特定帐户。我明白如何用特定的词过滤流,但我不明白如何用特定的帐户过滤。你知道吗


Tags: 帐户twitterstreamapi
1条回答
网友
1楼 · 发布于 2024-06-17 11:02:39

您需要在请求中使用follow关键字,如the docs中所述。你需要通过:

A comma-separated list of user IDs, indicating the users whose Tweets should be delivered on the stream.

相关问题 更多 >