简体   繁体   中英

Twitter search API results not reflective of advanced search function

I am interested in checking for tweets within a 300mi radius of Detroit with the query tigers . Here is the link I have been using for my python program:

DetroitTigersURL='http://search.twitter.com/search.json?q=tigers&rpp=100&lang=en&geocode=42.42,83.02,300mi&'

...which only returns about 15 tweets, 13 of which are from a guy in Kazakhstan.

and here's that same search using Twitter's built in advanced search: https://twitter.com/search?q=%22tigers%22%20near%3A%22Detroit%22%20within%3A300mi&src=typd

...with plenty of fresh tweets ripe for the picking. A little help please?

Sorry for one of these kinds of answers, but it appears to be an issue with the geocode API parameter. See the following links for somewhat related discussions:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM