title: twitter hashtag search
body: <p>I am trying to search all tweets with a given hashtag (Using titanium appcelerator).
  I have a working code to search all tweets from a given user (for example @prayforjapan).</p>
  
  <p>Now I'm trying to get all the tweets from #prayforjapan. This isn't working..
  I tried the following method (since i found it on <a href="http://apiwiki.twitter.com/w/page/22554756/Twitter-Search-API-Method:-search" rel="nofollow"> here </a></p>
  
  <p>Now to search for the names i use this url:</p>
  
  <pre><code>var xhr = Ti.Network.createHTTPClient();
      xhr.timeout = 1000000;
      xhr.open("GET","http://api.twitter.com/1/statuses/user_timeline.json?screen_name="+screen_name);
  </code></pre>
  
  <p>For the Hashsearch i tried the following code (doesn't work tho)</p>
  
  <pre><code>var xhr = Ti.Network.createHTTPClient();
  xhr.timeout = 1000000;
  xhr.open("GET","http://search.twitter.com/search.json?q=prayforjapan");
  </code></pre>
  
  <p>Does anyone know what's wrong with this search? or which link it should be? </p>
  
  <p>Thanks!</p>