我正在探索如何使用Twitter API version2搜索和过滤tweet,该版本在撰写本文时已经发布。有关此特定端点的文档可在here.中找到
我尝试成功搜索以下查询:
https://api.twitter.com/2/tweets/search/recent?query=puppy 因为我需要更具体,所以我查看了v1.1docs for rules and filtering,并尝试查找包含小狗图像(filter:image)和no retweets (-filter:retweets)的tweet,但我无法在v2 (最好是)或v1.1中使用postman进行查询,即使我尝试了percent-encoding中的特殊字符。
从文档中我也不清楚(尽管在文档中提到)如何在查询"37.781157,-122.398720,1mi"中指定特定的language (如英语(lang=english) )和特定的distance
有人知道如何将其传递到查询中吗?
发布于 2021-05-06 13:58:34
对于语言过滤器,你可以参考文章
https://community.postman.com/t/define-the-language-of-tweets/20643
但我对图像滤镜不太确定。但最近,来自Postman的一位开发人员sean.keegan更多地谈论了Postman中的twitter API。请务必查看https://community.postman.com/search?q=twitter和https://www.youtube.com/watch?v=ySbLo13Fk-c
我希望这些能对你有所帮助!
https://stackoverflow.com/questions/67368637
复制相似问题