在Bluemix中的Node-RED中使用Twitter节点 [英] Using Twitter node in Node-RED in Bluemix

查看:86
本文介绍了在Bluemix中的Node-RED中使用Twitter节点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是在Bluemix中使用Node-RED的初学者.我正在尝试使用情感节点来分析推文以及情感分析.我们是否可以选择将tweet搜索关键字作为参数传递?我们还能基于推文计数控制(启动/停止)流量吗(例如,我仅需要分析500条推文)?我想知道流程一旦部署,流程将开始tweet分析,直到Node-RED流程编辑器的会话终止?

I am a beginner in using Node-RED in Bluemix. I am trying to analyse the tweets along with sentiment analysis using sentiment node. Do we have an option to pass the tweet search keyword as a parameter? Also can we control (start/stop) the flow based on tweet count (for example I need to do the analysis of 500 tweets only)? I would like to know once the flow is deployed, will the flow start the tweet analysis until the session of the Node-RED flow editor is terminated?

推荐答案

回答每个问题:

  • 您无法动态传递搜索文本,必须通过编辑器在节点中对其进行配置

  • You cannot pass the search text dynamically, you have to configure it in the node via the editor

部署后,它会连接到 Twitter Streaming API ,以开始接收这些推文符合您的搜索条件.节点一旦部署,便无法再进行任何控制.

Once deployed, it connects to the Twitter Streaming API to start receiving the tweets that match your search criteria. There is no further control of the node available once it is deployed.

单击部署"将启动在节点红色实例中运行的流.与在浏览器中打开编辑器无关,您可以关闭浏览器窗口,并且流在Bluemix中继续运行

Clicking "deploy" starts the flow running in your node-red instance. It is not tied to you having the editor open in a browser - you can close the browser window and your flows keep running in Bluemix

这篇关于在Bluemix中的Node-RED中使用Twitter节点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆