Recently I wrote a program to search yahoo with a given string.
The string I passed to my program is
http://api.search.yahoo.com/WebSearchService/V1/webSearch?site="+URLEncoder.encode(sitename)+"&appid=YahooDemo&query="+URLEncoder.encode(query)+"&results=20&start="+pagec+"&output=json.
Parameters:
sitenamefor getting results for a particular sitequeryfor string that to be searched in yahoo server.
But I’m getting the following error when I execute this program:
{
"Error": {
"Message": ["The service has been shut down. For further details, please see the Deprecated Services blog post http://developer.yahoo.com/blogs/ydn/posts/2010/08/api_updates_and_changes"],
"Title": "The following errors were detected:"
}
}
What is the cause for getting this error?
The service has been shut down since April 2011. You can use Yahoo! Search BOSS instead, but you’ve to pay for it.
You may consider switching to Google Custom Search which is free up to 100 queries per day, afaik.