Thank you for your feedback.  I really do appreciate it.  There are
two "problems" with making it work under cake 1.2.

1) Component configuration changed in 1.3, specifically the way a user
is intended to customize Auth.  The change allows a user to customize
their Auth within the the components array instead of the
beforeFilter() approach.  This is essential to the Facebook.Connect
component because it uses the Auth and those settings to help bypass
auth automatically for you.  If, for instance, your User model was
something other than User (like Member), in 1.3 you'd set that in the
components array 'Auth' => array('userModel' => 'Member').
Facebook.Connect will pick this up and use the appropriate model
automatically.   However, it won't pick up settings set in a
beforeFilter() in app_controller.php for you automatically.   This
doesn't mean it wont work in 1.2, but it will only work as describe in
the docs if all your custom Auth settings are the default Auth
settings.

--- There are some work arounds to this.  I'm partial to allowing the
user to just pass in a different set of default options as a settings
array 1.3 style.  That would mean it would require more configuration
for a 1.2 user but it wouldn't defeat the general goal of the Plugin
(to be subtle and automatic).

2) I use the new Html and Js helpers only available in 1.3 for a fair
amount of the FacebookHelper functionality.

--- It's possible to use just the Html and Javascript helper of 1.2
but thats more overhead when upgrading to 1.2 -> 1.3.   I'll consider
writing a 1.2 compliant Helper.

In the meantime I suggest you take a look at 1.3.  Eventhough it's in
beta its still very stable.  I've been using 1.3 in many of my
production sites for a while with zero issues.

Thanks again for the feedback,
Nick


On Feb 10, 1:10 am, "[email protected]" <[email protected]> wrote:
> Hi nurvzy,
> looks interesting.... any chance to have it working under cake 1.2??
>
> Thanks
> Tomas
>
> On Feb 9, 6:32 pm, nurvzy <[email protected]> wrote:
>
> > Seems my server seems to be down.   While I look into it, you can view
> > and download the plugin from the svn 
> > here:http://www.xp-dev.com/sc/browse/70786/%2Ftrunk
>
> > Hope to have the site up and running soon,
> > Nick
>
> > On Feb 9, 8:15 am, nurvzy <[email protected]> wrote:
>
> > > I've just released my 1.2 version (beta) Facebook Plugin for
> > > CakePHP1.3
>
> > >http://www.webtechnick.com/blogs/view/229/CakePHP_Facebook_Plugin_Aut...
>
> > > A quick rundown of features:
> > > - Full featured authentication via Facebook. Facebook Authentication
> > > will work with or without a user login system in place.  Works
> > > seamlessly with your already built user authentication via
> > > AuthComponent - OR - it can work as your primary authentication
> > > system.
>
> > > - Create dynamic customizable Facebook content with extreme ease.
> > > -- Share  (Let your users share what they find on your site with their
> > > friends)
> > > -- Login/Logout (Facebook users can login and logout with a single
> > > click .. no registration required)
> > > -- Fan Boxes (Allow users to become a fan of your site/app)
> > > -- Profile Pictures (Display a facebook user's profile picture)
> > > -- Live Streams (Create dynamic live stream events)
> > > -- Comments (Connect with your uses by allowing them to comment on any
> > > part of your site with Facebook comments)
>
> > > - Access to Full Facebook API anywhere in your app.  Built custom
> > > content directly from the Facebook API with the built in access to the
> > > full Facebook API
>
> > > - Everything is included, no need to create or fiddle with Facebook
> > > files or xd_receiver.htm files.
>
> > > This plugin is in beta and only supports cakePHP 1.3.
>
> > > I hope you find it useful,
> > > Nick

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to