Facebook.Connect Uses the Facebook Connect API to log in a user through the Auth Component.
The user MUST create a new field in their user model called 'facebook_id'
Located in /controllers/components/connect.php (line 14)
Object | --ConnectComponent
createUser is true you want the component to attempt to create a CakePHP Auth user
account by introspection on the Auth component. If false, you can use $this->hasAccount as a reference to decide what to do with that user. (default true)
Error log
hasAccount is true if the connected Facebook user has an account in your application
me is the Facebook user object for the connected Facebook user
No Auth, if set to true, syncFacebookUser will NOT be called
uid is the Facebook ID of the connected Facebook user, or null if not connected
Initialize, load the api, decide if we're logged in
Sync the connected Facebook user with your application
Read the logged in user
Run the callback if it exists
Sync the connected Facebook user
Documentation generated on Mon, 29 Nov 2010 23:20:58 -0500 by phpDocumentor 1.4.3