MaryBethBaker/helloworld — pull request #1 by konklone (2013-02-23 03:44:37+00:00)
Title: Change search to use multiple possible hashtags

I'm doing this blind, cause I don't have the time to get this running on my laptop, but - this should show tweets using any of #odhd or #odhd13 or #opendataday.

It didn't require any additional code - the OR is in the search query itself. I went to https://twitter.com/search and used its operator guide to see that it has an OR operator, then typed "#odhd13 OR #opendataday OR #odhd".

Then I took the parameter from the URL, q=[...], and replaced the q=[...] parameter in the Twitter search API URL with it. They should use identical syntax.

Give it a try, and let me know if it works. If it does, I'll probably use this experience as an example of why it pays to poke around with URLs and APIs in my workshop tomorrow. :)