3

I need your help. I am facing a problem using Zend_Service_Yahoo. I am trying to use Zend_Service_Yahoo. But it shows

"An error occurred sending request. Status code: 404"

$yahoo = new Zend_Service_Yahoo("YAHOO_APPLICATION_ID");

     try{

            $results = $yahoo->imageSearch('PHP');

            foreach ($results as $result) {
                echo $result->Title . '<br />';
            }

        }catch(Exception $e){

           echo $e->getMessage();

        }

Reference : http://framework.zend.com/manual/1.0/en/zend.service.yahoo.html

Thanks in advance

4

1 回答 1

1

那是因为 imagesearch已被弃用

我们将于 2011 年 4 月关闭此服务。有关详细信息,请参阅弃用服务博客文章。

于 2012-10-29T07:55:00.297 回答