<ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:plain-text-body><![CDATA[
Zend_Service_Facebook provides an easy to API to Facebook's API and model-classes, without using facebook's own class.Zend Framework: Zend_Service_Facebook Component Proposal
Proposed Component Name
Zend_Service_Facebook
Developer Notes
http://framework.zend.com/wiki/display/ZFDEV/Zend_Service_Facebook
Proposers
My Name
Zend Liaison
TBD
Revision
1.0 - 1 January 2008: Initial Draft. (wiki revision: 4)
Table of Contents
1. Overview
2. References
3. Component Requirements, Constraints, and Acceptance Criteria
*Component will be configurable (AppId, secret, ...)
*Component will be able to check if user is logged in
*Component will be able to redirect to log in window
*Component will be able to check if user is lo
*Component will be able to perform http calls to facebook's api
*Component will be able to provide model objects for all types of facebook objects
4. Dependencies on Other Framework Components
- Zend_Exception
- Zend_Http_Client
- Zend_JSON
5. Theory of Operation
The Component can be used to query facebook's graph api to get information about different type of facebook objects, like users, albums, ...
It should act as a facade to the api. Stuff like $facebookUser = $facebook->getUser('userId') will provide an easy way to access the api. In addition return data will be presented in model objects with generic getters.
6. Milestones / Tasks
- Milestone 1: Write object factory class
- Milestone 2: Write object classes
- Milestone 3: Write facebook access classes
- Milestone 4: Unit tests exist, work, and are checked into SVN.
- Milestone 5: Documentation exists.
7. Class Index
*Zend_Service_Facebook
*Zend_Service_Facebook_Exception
*Zend_Service_Facebook_Object_Factory
*Zend_Service_Facebook_Object_Interface
*Zend_Service_Facebook_Object_ObjectAbstract
*Zend_Service_Facebook_Object_Album
*Zend_Service_Facebook_Object_Application
*Zend_Service_Facebook_Object_Checkin
*Zend_Service_Facebook_Object_Comment
*Zend_Service_Facebook_Object_Event
*Zend_Service_Facebook_Object_FriendList
*Zend_Service_Facebook_Object_Group
*Zend_Service_Facebook_Object_Insights
*Zend_Service_Facebook_Object_Link
*Zend_Service_Facebook_Object_Message
*Zend_Service_Facebook_Object_Note
*Zend_Service_Facebook_Object_Page
*Zend_Service_Facebook_Object_Photo
*Zend_Service_Facebook_Object_Post
*Zend_Service_Facebook_Object_Review
*Zend_Service_Facebook_Object_Simple
*Zend_Service_Facebook_Object_StatusMessage
*Zend_Service_Facebook_Object_Subscription
*Zend_Service_Facebook_Object_Thread
*Zend_Service_Facebook_Object_User
*Zend_Service_Facebook_Object_Video
8. Use Cases
| UC-01 | Facebook API can be queried |
|---|---|
| UC-02 | Facebook login window is presented if user has to log in |
| UC-03 | Data will be parsed an returned properly |