Re: [symfony-devs] [Symfony2] facebook connect provider

2010-12-03 Thread Lukas Kahwe Smith
On 03.12.2010, at 13:00, Fabien Potencier wrote: >>> however when i inject the request service to be able to read some >>> parameters (for example if the user has accepted the terms of services) >>> then i get: >>> Fatal error: Class 'WillNeverBeCalled' not found >>> >>> apparently at this poi

Re: [symfony-devs] [Symfony2] facebook connect provider

2010-12-03 Thread Fabien Potencier
however when i inject the request service to be able to read some parameters (for example if the user has accepted the terms of services) then i get: Fatal error: Class 'WillNeverBeCalled' not found apparently at this point the request service hasn't been "hacked" into the container by the kern

Re: [symfony-devs] [Symfony2] facebook connect provider

2010-12-03 Thread Lukas Kahwe Smith
On 03.12.2010, at 11:21, Lukas Kahwe Smith wrote: > > On 03.12.2010, at 10:34, Lukas Kahwe Smith wrote: > >> Sigh .. not sure what I was smoking yesterday, but the above obviously >> doesnt work, since I cannot inject anything into a repository class >> reliably, since in most cases its the E

Re: [symfony-devs] [Symfony2] facebook connect provider

2010-12-03 Thread Lukas Kahwe Smith
On 03.12.2010, at 10:34, Lukas Kahwe Smith wrote: > Sigh .. not sure what I was smoking yesterday, but the above obviously doesnt > work, since I cannot inject anything into a repository class reliably, since > in most cases its the EntityManager making the instance, that doesnt care > about w

Re: [symfony-devs] [Symfony2] facebook connect provider

2010-12-03 Thread Lukas Kahwe Smith
On 02.12.2010, at 22:51, Lukas Kahwe Smith wrote: > I am not doen yet, but from initial testing things turned out to be quite > easy. > I have both DB users as well as Facebook Users, but both have some data in > the DB. So I decided to just modify my UserRepository to handle the two > cases.

Re: [symfony-devs] [Symfony2] facebook connect provider

2010-12-02 Thread noel guilbert
The merge was quite easy: https://github.com/noelg/KrissFacebookBundle/commit/c9527c7da3be08c941e40e434085b94c63607a69 I've emailed Kriss, I hope he will take the patch. Noel On Thu, Dec 2, 2010 at 11:49 PM, noel guilbert wrote: > I don't know yet if I will merge this with Kriss' FacebookBundle

Re: [symfony-devs] [Symfony2] facebook connect provider

2010-12-02 Thread noel guilbert
I don't know yet if I will merge this with Kriss' FacebookBundle. But I think it will have a chance. On Thu, Dec 2, 2010 at 11:39 PM, Lukas Kahwe Smith wrote: > > On 02.12.2010, at 23:33, noel guilbert wrote: > > > Hi Lukas, > > > > I've just pushed some code on my github account, with a full in

Re: [symfony-devs] [Symfony2] facebook connect provider

2010-12-02 Thread Lukas Kahwe Smith
On 02.12.2010, at 23:33, noel guilbert wrote: > Hi Lukas, > > I've just pushed some code on my github account, with a full integration with > the security component: https://github.com/noelg/FacebookBundle cool .. will have a look any chance to merge this with https://github.com/kriswallsmith

Re: [symfony-devs] [Symfony2] facebook connect provider

2010-12-02 Thread noel guilbert
Hi Lukas, I've just pushed some code on my github account, with a full integration with the security component: https://github.com/noelg/FacebookBundle On Thu, Dec 2, 2010 at 10:51 PM, Lukas Kahwe Smith wrote: > > On 01.12.2010, at 17:37, Jeremy Mikola wrote: > > > I've put this off because we

Re: [symfony-devs] [Symfony2] facebook connect provider

2010-12-02 Thread Lukas Kahwe Smith
On 01.12.2010, at 17:37, Jeremy Mikola wrote: > I've put this off because we're not yet using Security component. In > response to what Ben mentioned, the FB login process is very view-centric > (and worse, OAuth-centric), so relying on the Javascript SDK is a quick win. > > There's no reason

Re: [symfony-devs] [Symfony2] facebook connect provider

2010-12-01 Thread Jeremy Mikola
I've put this off because we're not yet using Security component. In response to what Ben mentioned, the FB login process is very view-centric (and worse, OAuth-centric), so relying on the Javascript SDK is a quick win. There's no reason you can't rely on JS to handle the login/registration flow,

Re: [symfony-devs] [Symfony2] facebook connect provider

2010-12-01 Thread Benjamin Eberlei
i tried this with symfony 1 and i hated it. Facebook authentication is very view centric, so i switched to using the javascript sdk. On Wed, 1 Dec 2010 10:34:20 +0100, noel guilbert wrote: > Hi, > > I'm working on something similar actually (login in a facebook > application). > I hope I will ha

Re: [symfony-devs] [Symfony2] facebook connect provider

2010-12-01 Thread noel guilbert
Hi, I'm working on something similar actually (login in a facebook application). I hope I will have something for the end of the week. Noel On Wed, Dec 1, 2010 at 6:47 AM, Lukas Kahwe Smith wrote: > Hi, > > just wondering if someone has worked on implementing a facebook connect > provider for

[symfony-devs] [Symfony2] facebook connect provider

2010-11-30 Thread Lukas Kahwe Smith
Hi, just wondering if someone has worked on implementing a facebook connect provider for the Symfony2 security firewall? ideally it would allow me to authenticate to facebook but allow to easily hook in to read out data from my local database to setup the user object. actually i might also want