You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had a dig through the code, and a number of things indicate that twitter's search methods are not supported. For instance, the base_url is https://twitter.com, whereas the search API says that it's necessary to use search.twitter.com:
The Search API doesn't require authentication so I haven't worked in any support for it yet. You can just make straight up calls to the API like this:
require 'open_uri'
require 'json'
def twitter_search(query)
JSON.parse(open("http://search.twitter.com/search.format?q=#{CGI.escape(query)}").read)
end
That's a simple example, but it works. I will be adding Twitter Search support as an eventual result of #1 because I will be integrating search into my TwitterDispatch gem. Hope that helps.
I had a dig through the code, and a number of things indicate that twitter's search methods are not supported. For instance, the base_url is https://twitter.com, whereas the search API says that it's necessary to use search.twitter.com:
http://apiwiki.twitter.com/Twitter-Search-API-Method%3A-search
Thanks,
Dave
The text was updated successfully, but these errors were encountered: