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!
source
share