You are here: Web服务 > 高音拖缆

高音拖缆

Connects to a Twitter™ stream and outputs a new feature for each tweet. The transformer allows users to set up a filter, so that the output features will only contain tweets containing certain keywords, tweets that are geotagged with a particular location, and/or tweets which are written in particular languages.

twitter流是一个永不关闭的HTTP连接,所以除了错误情况,任何包含此转换器的工作区都不会自行终止。转换器将继续输出特性,直到用户终止工作区。 因此,工作区作者必须确保tweetterstreamer输出的特性不会进入任何阻塞转换器。

必须至少有一个特性进入转换器才能启动流。一旦所有的输入特性都到达,transformer将打开到Twitter流API的连接,并开始输出特性。根据变压器参数中设置的滤波器,变压器的输出可能不连续。在某些时段内,可能没有与过滤器匹配的tweet。在按语言和几何过滤时尤其如此。

如果没有提供关键字或几何过滤器,转换器将连接到样本流。这个流提供了tweet创建时的随机样本。可以按语言过滤此流。

Note that a limited number of streaming connections is permitted per user. If too many simultaneous connections are attempted with the same user credentials, one or more of the connections will be terminated.

Output Ports

Parameters

流过滤器参数

身份验证参数

Note:要使用代理服务器在网络外部进行访问,请使用FME选项中的网络工具。从Workbench菜单中,选择工具>FME选项>网络. For more information, see "Network" in the FME Workbench Help.

相关变压器

JSONFragmenter

JSONExtractor公司

编辑变压器参数

使用一组菜单选项,可以通过引用工作空间中的其他元素来指定转换器参数。更高级的功能,如高级编辑器和算术编辑器,也可以在一些变压器。要访问这些选项的菜单,请单击在适用参数旁边。有关详细信息,请参阅变压器参数菜单选项.

变压器类别

Web服务

搜索FME知识中心

在上搜索有关此变压器的示例和信息FME Knowledge Center.