I've got a Facebook service that I've written specifically for Wordpress plugins, but it lives within a WP plugin microframework I put together with the Symfony Components DIC. With that in mind it should be simple to use it within a Symfony 2 project, but needs to be namespaced correctly for PHP 5.3. The tricky part is obviously authentication, and I've figured out how to actually get persistent auth tokens from FB that do not expire - useful for automatically syncing objects with a local cache or making other requests on behalf of a FB user at a later time.
Coincidentally, I just wrapped up a meeting in which we discussed using Symfony2 for our Facebook-centric application, so I believe I'll have to port my service to Symfony 2 anyway. I'll make the lib available as soon as it's usable. Greg On Dec 1, 5:13 am, Benjamin Eberlei <[email protected]> wrote: > 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 <[email protected]> > wrote: > > > > > 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 > > <[email protected]>wrote: > > >> 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 > to > >> automatically sync some graph data from facebook into my local > database. > >> also seems like a good use case to illustrate how a token based > >> authentication works. > > >> regards, > >> Lukas Kahwe Smith > >> [email protected] > > >> -- > >> If you want to report a vulnerability issue on symfony, please send it > to > >> security at symfony-project.com > > >> You received this message because you are subscribed to the Google > >> Groups "symfony developers" group. > >> To post to this group, send email to [email protected] > >> To unsubscribe from this group, send email to > > [email protected]<symfony-devs%2bunsubscr...@google > groups.com> > > > > >> For more options, visit this group at > >>http://groups.google.com/group/symfony-devs?hl=en > > > -- > > Noël GUILBERT > >http://www.noelguilbert.com/ > > Twitter :http://twitter.com/noelguilbert > >http://www.sensiolabs.com > >http://www.symfony-project.com > > Sensio Labs > > Tél: +33 1 40 99 80 80 -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" 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/symfony-devs?hl=en
