vosonlab / SocialMediaLab

46 stars 19 forks source link

Collect fails for twitter when result-list is empty #21

Open dietrichson opened 8 years ago

dietrichson commented 8 years ago

I realized this by entering a search term with geocode, and got the coordinates "switched" i.e. was looking for tweets in the South Pacific.

dietrichson commented 8 years ago

Here's an example code fragment, comment/uncomment will show the issue Collect(searchTerm=mySearchTerm, geocode=

"38.9,-77,200mi",

       "-77,38.9,200mi"
          numTweets=2000,verbose=TRUE) 
timothyjgraham commented 7 years ago

Hi @dietrichson,

Sorry for the delayed reply. So you are saying that the coordinates are back to front?

Also I am wondering why there is a "#" symbol (pound sign) in front of the first coordinate, in your code above?

rjackland commented 7 years ago

I believe that the "switched" geo coordinates is a Twitter API thing, and not to do with SocialMediaLab. I recall seeing this previously when I used the Twitter free API (not via SocialMediaLab).