Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update keywords (tags) while connected #114

Closed
HashmatWaziri opened this issue Oct 12, 2017 · 2 comments
Closed

update keywords (tags) while connected #114

HashmatWaziri opened this issue Oct 12, 2017 · 2 comments

Comments

@HashmatWaziri
Copy link

how can we do the following : to change the keyword inside setTrack() without disconnecting the twitter streaming api. and then the streaming api should search the new tags.

@JPeterson2015
Copy link

I am also wondering how this can be done? I'm pulling my keywords in from a database and that database can change frequently.

Anyone else know the answer to this?

@fennb
Copy link
Owner

fennb commented Apr 27, 2018

I don't believe this is possible. Tags are set on a per connection basis, so you have to disconnect/reconnect.

I would recommend doing this periodically (maybe every 5 minutes or so), as otherwise you'll hit connection rate limits and your account will be banned.

@fennb fennb closed this as completed Apr 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants