Comments (3)
I just checked the code and it appears to correctly append the geocode. Most probably because of the spaces in it it wasn't correctly taking it into account. I've done a small fix, theoretically it should work.
Also make sure to correctly set the geocode in the form of lat long radius_in_miles
, like 37.781157 -122.398720 1mi
.
@Ka0tiK can you check to see if it works now? Make sure to update before. Thanks!
P.S. Yes, the account should have the location set. If not, the API can't filter it by geocode.
from twitter-contest-js-bot.
Still not working correctly. I did manage to find 1 tweet though and that was by using the format:
37.781157,-122.398720,1mi
According to my research tweets based on location will only be found quite obviously only if the account has location enabled on their device or have location entered into their profile. Still, this should bring far more results than one tweet as I can find them manually without issues.
Changing the radius from 1mi all the way up to 2500mi makes no difference, 250mi is my preferred choice. No other settings have been changed from default other than my twitter app credentials.
Thanks for the update!
from twitter-contest-js-bot.
Hi again @Ka0tiK ,
I've been looking for the past 20 minutes and I could indeed find that since 2014 there were several issues with the geocode searching. Some report that it worked for values like 5mi
but failed for 15mi
, which should theoretically include that.
However, I can't seem to find whether this is still an existing issue or not. Someone also specified that Tweets have to be manually geo-located, although their Search API states that
The location is preferentially taking from the Geotagging API, but will fall back to their Twitter profile
The format used for calling seems to be the one suggested by them, although I found some using: 43.913723261972855,-72.54272478125,150km
(commas instead of spaces).
Could you also try this geocode format? If this also fails to work I'll have to guess it's either the Twitter API or their Profile settings, as we're calling their API properly.
from twitter-contest-js-bot.
Related Issues (20)
- Re-write app in ES6
- Error HOT 1
- Use hashtag HOT 3
- You have already retweeted this tweet. HOT 1
- Like & comment functionality when the contest requires it HOT 1
- Bot only favoriting, not retweeting most tweets it finds HOT 3
- Only searching and nothing else HOT 1
- ES6 issues HOT 1
- Blacklist tweets suggestion HOT 1
- Searching before exhausting queue HOT 3
- Retweets keep failing
- Can it recognise if the tweet saids "tag 2 friends" and do it? HOT 1
- Following HOT 1
- Bot stops retweeting after a while HOT 2
- [Error] { StatusCodeError: 429 - {"errors":[{"message":"Rate limit exceeded","code":88}]} HOT 1
- More SEARCH_QUERIES: or FILTERS: maybe? HOT 2
- Kinda bad bug, found items but not enter them :o HOT 1
- error 220 HOT 2
- tweet HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from twitter-contest-js-bot.