Mat wrote:
> Just out of interest why are you creating so many FB classes, ive just
> copied the php5 library into the symfony/lib folder and running with that,
> no problems/restrictions so far. I'm pretty new to symfony so would be
> interested to know the reasoning behind other methods, inparticular im still
> getting my head round making filters.

In my actions, I can do this to access the facebook API:

$this->getRequest()->getFacebook()

(the method name kinda sucks, but I don't mind ;))

The session class is because you can't use standard sessions with 
facebook, they pass you a fb_session_id or something like that which is 
the session identifier, you need to ensure you pick up on that and use 
it for your own session.

I have modified my user class, and added a filter such that I can use 
the credential/security system, and it automatically logs a user in to 
my platform based on the facebook user id.

You can obviously just use the classes as is, I use htem for my 
modifications, I just wanted a more streamlined approach

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to