Twitter hashtag search

I am trying to find all tweets with a given hashtag (using titanium appcelerator). I have a working code to search for all tweets from a given user (e.g. @prayforjapan).

Now I'm trying to get all the tweets from #prayforjapan. This does not work. I tried the following method (since I found it on here

Now, to search for names, I use this URL:

var xhr = Ti.Network.createHTTPClient();
    xhr.timeout = 1000000;
    xhr.open("GET","http://api.twitter.com/1/statuses/user_timeline.json?screen_name="+screen_name);

For Hashsearch, I tried the following code (tho doesn't work)

var xhr = Ti.Network.createHTTPClient();
xhr.timeout = 1000000;
xhr.open("GET","http://search.twitter.com/search.json?q=prayforjapan");

Does anyone know what happened to this search? or what connection should it be?

Thank!

+3
source share
3 answers

Well, I played with him a bit and came up with this link format.

http://search.twitter.com/search?q=%23prayforjapan

How it works?

0
source

% 23prayforjapan , #prayforjapan

0

Sorry, Twitter does not provide this, either using the Rest or Streaming API. They give only partial results if you do not pay for a "garden hose" or "fire", which are very expensive. The garden hose is currently starting at around $ 6,000 per month.

0
source

All Articles