I'm trying to search twitter by a specific location. I've managed to get it to exclude any tweets geotagged outside of my radius, but I'm also getting a vast majority of tweets with the geodata set to null.
var Twitter = new LinqToTwitter.TwitterContext(auth);
var GeoCode = new LinqToTwitter.Geo()
{
Latitude = 37.68,
Longitude = -97.33,
Accuracy = "20mi"
};
var geostring = $"{GeoCode.Latitude},{GeoCode.Longitude},{GeoCode.Accuracy}";
var searchResponse =
Twitter.Search
.Where(x => x.Type == SearchType.Search)
.Where(x => x.Query == "Trump") //I know people are tweeting this right now...
.Where(x => x.GeoCode == geostring)
.FirstOrDefault();
Now, as said, this excludes tweets specifically tagged as outside of my location & radius, but I would also like to exclude tweets that do not have location data set. Am I doing something wrong here, or am I just going to have to pull the unwanted data and then filter it after the fact?