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

Heads up when trying to catch tweets inside bounding box #116

Open
belgianwolfie opened this issue Jul 14, 2013 · 0 comments
Open

Heads up when trying to catch tweets inside bounding box #116

belgianwolfie opened this issue Jul 14, 2013 · 0 comments

Comments

@belgianwolfie
Copy link

Just a quick heads up that you have to do some manual double check after trying to catch all tweets inside a bounding box with:

var t = new twitter({
consumer_key: config.twitter.consumer_key,
consumer_secret: config.twitter.consumer_secret,
access_token_key: config.twitter.access_token_key,
access_token_secret: config.twitter.access_token_secret
});

t.stream('statuses/filter', {'locations':'-118.15,36.14,-118.08,36.17'}, function(stream) {

...

There are a lot of issues posted on twitter dev support that the bounding box is NOT accurate.
So , check your coordinates.coordinates json object for lng and lat (in that order) after scraping them using above function , cause otherwise you will most likely end up with tweets that originate from outside your bounding box.

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