Using the Twitter Search API – https://dev.twitter.com/docs/using-search
트위터 검색 API를 사용하다보면 검색어관련 옵션이 몇가지 있는데 자꾸 잊어 버리네요. 북마크 해둡니다. 아! 내용 발취좀 해둬야 겠군요. 문서 링크가 사라질 지도 모르니까요.
In addition to the parameters listed in the Search API documentation, there are a number of operators you can use to modify the behavior of query.
Example Finds tweets… twitter search containing both “twitter” and “search”. This is the default operator “happy hour” containing the exact phrase “happy hour” love OR hate containing either “love” or “hate” (or both) beer -root containing “beer” but not “root” #haiku containing the hashtag “haiku” from:twitterapi sent from the user @twitterapi to:twitterapi sent to the user @twitterapi place:opentable:2 about the place with OpenTable ID 2 place:247f43d441defc03 about the place with Twitter ID 247f43d441defc03 @twitterapi mentioning @twitterapi superhero since:2011-05-09 containing “superhero” and sent since date “2011-05-09” (year-month-day). twitterapi until:2011-05-09 containing “twitterapi” and sent before the date “2011-05-09”. movie -scary 🙂 containing “movie”, but not “scary”, and with a positive attitude. flight 😦 containing “flight” and with a negative attitude. traffic ? containing “traffic” and asking a question. hilarious filter:links containing “hilarious” and with a URL. news source:tweet_button containing “news” and entered via the Tweet Button