Skip to content

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

@wlad-svennik

Description

@wlad-svennik

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions