Is it possible to get an XML from a hashtag search?
for example, I want to get twits with hashtag “twitterapi” in an XML
Thanks!
episod
#2
We don’t have a direct XML output for the Search API, but both ATOM and RSS are XML-based responses.
A request such as:
GET http://search.twitter.com/search.atom?q=%23twitterapi
will yield you XML-based results for the hashtag #twitterapi
ok, I think it is bette to use the rss one, so with this:
http://search.twitter.com/search.rss?q=twitterapi
Then I realized, that I had to save that file as a .txt and after change its extension to .xml so I was able to parse the file with Actionscript 3 (my final aim)
Thank you very much!
miundo
#4
Trato de entender de a poco !!!
I have 2 questions about RSS search lists:
- When I save the search as xml file, the geo information of tweets seems to be missing. Is there a way to include this information?
- Is there a way to include older tweets in the search? I couldn’t find any operator for that.
So far, my search query looks like this:
http://search.twitter.com/search.atom?q=geocode:52.524268%2C-13.40629%2C25km%23hastag1%2C%20OR%20%23hashtag2
Thanks!
nice…but is there a way automatically to write this to and already created xml file in PHP.That wud make things super easy…
This is what I need but it has stopped working, perhaps it stopped as recently as yesterday (5 June 2013). It was working four days ago.
Oh I only just discovered this now!
So how do I fix it so that the RSS Twitter search works again?
Incidentally the old version was working up until a few days ago.
ice1x
#11
Today (Thu 2013-06-06 07:09) Twitter updated the doc page for twitter api (previos update on this page was on 2012-08-25). They changed the item “limitations” (see that page).
They added the following point:
“In API v1.1, the Search API requires some form ofauthentication – either OAuth 1.0A or app-only auth”
(It wasn’t in previos version of doc)
ice1x
#12
Today (Thu 2013-06-06 07:09) Twitter updated the doc page for twitter api (previos update on this page was on 2012-08-25). They changed the item “limitations” (see that page).
They added the following point:
“In API v1.1, the Search API requires some form ofauthentication – either OAuth 1.0A or app-only auth”
(It wasn’t in previos version of doc)