使用 Twurl 获取一组地理定位的屏幕名称



我正在尝试使用 Twurl 捕获包含此搜索内容的 json 文件:

https://twitter.com/search?f=users&q=keyword%20near%3A"United%20Kingdom"%20within%3A15mi&src=typd

我试过了:

twurl /1.1/users/search.json?q=keyword%20near%3ALondon%20within%3A15mi
twurl /1.1/users/search.json?q=keyword%20near%3A"London%20within%3A15mi
twurl  /1.1/users/search.json -X "Content-Type: application/json" -d '{"query":"keyword","maxResults":"100","near":"London, England","within":"1500mi"}'

和许多变化。 get/Users API 文档没有将地理位置列为选项,但我认为可以使用搜索 API 构建的任何搜索都可以使用 Twurl 进行查询。我错过了什么?

你已经在这里回答了你自己的问题。如果可能,文档将列出地理编码选项。用户/搜索终结点仅支持在整个用户配置文件中匹配的关键字。API 中没有针对用户的地理搜索。

最新更新