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

Filtered stream closes before getting as many tweets as specified, and not possible to reconnect #10

Open
wlad-svennik opened this issue Nov 1, 2016 · 0 comments

Comments

@wlad-svennik
Copy link

wlad-svennik commented Nov 1, 2016

I'm using the version on CRAN.

First time I ran

filterStream( file.name="jeremy_corbyn.json",
              track='"jeremy corbyn"', tweets=10, oauth=my_oauth )

tweets.df <- parseTweets("jeremy_corbyn.json")

the stream closed after 62 seconds and downloaded only 2 tweets even though I specified 10.

On subsequent times I've tried to connect, it disconnects after 1 second and adds "Exceeded connection limit for user" to jeremy_corbyn.json

[edit]

I restarted my computer.
Now when I run the above, I get

Warning message:
In readLines(tweets, encoding = "UTF-8") :
  incomplete final line found on 'jeremy_corbyn.json'
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

1 participant