简体   繁体   English

Twitter搜索API结果无法反映高级搜索功能

[英]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 . 我感兴趣的检查底特律与查询300mi半径内鸣叫tigers Here is the link I have been using for my python program: 这是我用于python程序的链接:

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. ...仅返回约15条推文,其中13条来自哈萨克斯坦的一个人。

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 这就是使用Twitter内置的高级搜索进行的同一搜索: 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. 很抱歉,这些答案之一,但是它似乎与geocode API参数有关。 See the following links for somewhat related discussions: 有关某些相关讨论,请参见以下链接:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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