Re: [twitter-dev] Re: Tweet(s) to XML or JSON

2011-03-07 Thread Matt Harris
Hi Mohorad, Most of the Twitter APIs support multiple response formats. The most common formats are XML and JSON but some methods also support RSS and ATOM. The response format is controlled by changing the extension of the method. For example: http://search.twitter.com/search.json will retur

[twitter-dev] Re: Tweet(s) to XML or JSON

2011-03-07 Thread mahorad
Thanks for prompt reply but I had to mention that I'm using the Search API in a web service and at the first step I need to convert the retrieved tweets to JSON or XML. my tweet search is like this: Twitter twitter = new TwitterFactory().getInstance(); try { Query q = new Query(args[0]);