Using Twitter node in Node-RED in Bluemix

…衆ロ難τιáo~ 提交于 2019-12-11 15:46:33

问题


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?


回答1:


To answer each of your questions:

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

  • 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.

  • 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



来源:https://stackoverflow.com/questions/30738536/using-twitter-node-in-node-red-in-bluemix

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!