How to access the Twitter Streaming API from Python?

Python: How to add variable to already running Python program?

  • Hi, I have a Python program running in the background. It's a program using the twitter streaming API. Now if a new user uses the application they will submit their own set of keywords. I want to, with out stopping the running stream, add the new key words to the stream.  How will i be able to do this.

  • Answer:

    Use a channel or a queue for the python program to listen on, while supplying keywords to that given channel. Have a look at queuing services like RabbitMQ, Openstack Marconi and the likes.

Sriram Madapusi Vasudevan at Quora Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.