2024-05-20 17:21:59 发布
网友
所以基本上我想做的是使用流媒体API搜索特定的表情符号,但也只从美国国内拉推特。有人知道我会怎么做吗?我用的是python。目前,我只是拉所有的推特与表情图和手动通过他们看看是否推特来自美国。在
这是我当前的代码:
twitterStream.filter(track=["Ossoff"],languages=['en'])
我可以添加什么来让它只在有界位置搜索轨迹项?或者这是可能的吗?在
不可能。相关的API文档是here。引用文件:
Bounding boxes do not act as filters for other filter parameters. For example track=twitter&locations=-122.75,36.8,-121.75,37.8 would match any Tweets containing the term Twitter (even non-geo Tweets) OR coming from the San Francisco area.
不可能。相关的API文档是here。引用文件:
相关问题 更多 >
编程相关推荐