zend-framework - Zend_Service_Yahoo 显示发送请求错误。状态码 : 404

标签 zend-framework

我需要你的帮助。 我在使用 Zend_Service_Yahoo 时遇到问题。 我正在尝试使用 Zend_Service_Yahoo。但它显示

发送请求时发生错误。状态代码: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();

        }

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

提前致谢

最佳答案

那是因为图像搜索 has been deprecated .

We’re shutting down this service in April 2011. For further details, please see the Deprecated Services blog post.

关于zend-framework - Zend_Service_Yahoo 显示发送请求错误。状态码 : 404,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13117671/

相关文章:

zend-framework - Zend 框架 - 是否有多个复选框的验证器?

zend-framework - Zend 框架自动加载器奇怪的行为

zend-framework - Doctrine2 大集合

javascript - 如何在 Zend Framework 中附加 js 文件时定义自定义属性?

php - 如何防止通过 Zend Framework 中关联的模块/ Controller /操作路径访问路由?

php - 我正在尝试处理 PHP 中的异常,但堆栈错误仍在显示,而不是由 catch 处理

zend-framework - 在 Zend Framework 中使用 DbUnit 扩展进行数据库测试时缺少抽象方法错误

php - Magento - 报价和订单之间的区别

zend-framework - 如何在 zend Controller 中自动加载单例类(私有(private)构造函数)?

php - zend 和 htaccess 的问题