Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/excel/23.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/wcf/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
为什么twitter流api发送不必要的数据?_Twitter_Twitter Oauth - Fatal编程技术网

为什么twitter流api发送不必要的数据?

为什么twitter流api发送不必要的数据?,twitter,twitter-oauth,Twitter,Twitter Oauth,根据twitter文档 A comma-separated list of user IDs, indicating the users whose Tweets should be delivered on the stream. Following protected users is not supported. For each user specified, the stream will contain: Tweets created by the user. Tweets whi

根据twitter文档

A comma-separated list of user IDs, indicating the users whose Tweets should be delivered on the stream. Following protected users is not supported. For each user specified, the stream will contain:

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”).
假设我在跟踪某个人,他/她有数百万的追随者,每当他/她在推特上发一些东西时,很多追随者都会转发,根据文档,如果我通过推特api跟踪该id,流式api将流式传输所有噪音。所以我的问题是,这仅仅是糟糕的设计,还是有什么具体的原因。

这是一种设计选择

您正在查看过滤推文的特定方法(使用
follow
参数)。如果您想要的只是该用户发布的tweet,您可以使用不同的模式,如
from:
操作符