使用特定主题标签搜索来自多个用户的推文? [重复]
问题描述:
This question already has an answer here:
- Twitter: Hash tag search query 3 answers
I'd like to fetch tweets with the Twitter Search API that have a certain hashtag and from a list of Twitter users.
This returns all the tweets from two users, but I only need tweets with a certain hashtag https://search.twitter.com/search.json?&q=from:stevdobb+OR+from:dummytwitteruser
</div>
答
You can combine users and hashtags in your search query. i.e. you could do something like this:
https://search.twitter.com/search.json?&q=from:stevdobb+OR+from:dummytwitteruser+%23file
This returns tweets from "stevdobb" or "dummytwitteruser" that contain a #file hashtag