[Facebooker-talk] Session Best Practices

Mike Mangino
2008-06-13T13:41:16Z

Can every chime in and say what you use a stored session for?

Right now, we use them for messaging, profile updates and feeds.
Messaging and feeds no longer need the session key, but feeds do. I''ll
probably change my code to store the session key and its expiration
date.

How would everybody feel about a facebook_authentication plugin? It
would be similar to restful_authentication, but for Facebook
applications. I can do an extraction of our code that is in use for
millions of users. Would that be helpful?

Mike



On Jun 12, 2008, at 6:27 PM, Joel Watson wrote:

> I''m not sure exactly how this will work, but will affect the app
I''m
> working on as well. The official post about this change is located
> here:
>
> http://developers.facebook.com/news.php?blog=1&story=118
>
> It appears as though you''ll be able to get a new user session
> without already having an infinite session key via the
> Auth.getSession method. It also appears as though you''ll be able
to
> do Profile.setFBML without an existing session key as well. As I
> said though, I''m not 100% sure how this will work. If anyone out
> there has a better idea, please chime in! I''ll probably be playing
> around with this some time in the next week or two in any case.
>
> -Joel