this is my first time using Twitter API therefore I am not very familiar. I want to retrieve all twitter tweets which has a hashtag, for example #converse
This is my code:
var myXMLLoader:URLLoader = new URLLoader();
myXMLLoader.load(new URLRequest("http://search.twitter.com/search.atom?q=converse"));
myXMLLoader.addEventListener(Event.COMPLETE, processXML);
function processXML(e:Event):void{
var myXML:XML = new XML(e.target.data);
trace(myXML.status[0].text);
load1.text = myXML.status[0].text;
}
This is the error I got :
Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: http://search.twitter.com/search.atom?q=converse at mainClass()
I don't understand the URL and I don't know if the syntax is correct. I searched in the internet and this is how they retrieve the feeds.
HTTPStatusEvent.HTTP_STATUS,IOErrorEvent.IO_ERRORandSecurityErrorEvent.SECURITY_ERRORevents. These will give you more insight into what's going wrong. - david.emilsson