最佳实践 Zend 框架 + faceBook Api [英] Best practice zend framework + faceBook Api

查看:27
本文介绍了最佳实践 Zend 框架 + faceBook Api的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在zend框架中集成facebook api的更好方法是什么,对于登录,我可以实现 Zend_Auth_Adapter_Interface但我发现了类似 Zend_Service_Twitter 的东西,并在想我是否应该实现 Zend_Service_interface 以及可能性有多大,抱歉还没有看过 Zend_Service 的架构,但是任何建议都会受到赞赏,并且可以节省我走错方向的时间

What is better way to integrate facebook api, in zend framework, for login I can implement Zend_Auth_Adapter_Interface but I found something like Zend_Service_Twitter, and thinking if I should implement Zend_Service_interface and what are the odds, sorry haven't looked at the architecture of Zend_Service yet, but any advice would be appreciated and would save me time from going to wrong direction

推荐答案

虽然 Zend_Service_Facebook 的提议已经存在,但开发者尚未向公众发布任何内容.您可以查看 http://pear.php.net/package/Services_Facebook 和尤其是这个包中的 Services_Facebook_Auth.

While a proposal for a Zend_Service_Facebook exists, the developer didn't release anything to the public yet. You can have a look at http://pear.php.net/package/Services_Facebook and especially Services_Facebook_Auth from this package though.

另见这篇博文:

这篇关于最佳实践 Zend 框架 + faceBook Api的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆