Twitter API:如何仅搜索带有地理标记的推文 [英] Twitter API: How to search only for geotagged tweets

查看:30
本文介绍了Twitter API:如何仅搜索带有地理标记的推文的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何使用 Twitter Search API(或其他)来获取具有 "geo" 参数的推文列表?

--编辑--

例如:我不会通过#apple 标签获得带有地理标签的推文列表.没有位置过滤器,全球.

解决方案

看起来最新的 API 支持了;只需为您的查询使用足够大的地理区域:

-180,-90,180,90

从 API 链接中查看关于 过滤器和位置的更多信息

How can I use Twitter Search API (or other) to get a list of tweets which have the "geo" param?

--EDIT--

By example: I wont get list of geotagged tweets, by #apple tag. Without location filter, worldwide.

解决方案

Looks like the latest API supports that; simply use a large enough geo region for your query:

-180,-90,180,90

See more from the API link for filter and location

这篇关于Twitter API:如何仅搜索带有地理标记的推文的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆