[Facebooker-talk] Session Best Practices

David Clements
2008-06-16T15:35:05Z

Our application is a MeetingWave....   People create open invitations to
meet around a topic of their choice.  It is an extension of a Web App...


I use stored session ids for

1)  Updating profiles once a day ----   I only need one key for this but I
use individual ones.
2)  Sending notifications to users when they have a activity on one of their
Invites --- This activity could come from a non-facebook user.
3)  If a user is integrated with Facebook and they post an invite on the web
site then we push a News Feed item into Facebook  ---- I think this will
break when they cut us off from the infinite key , right?

I think that number 3 is the only thing that is going to break right?  And
perhaps this is the real intention of Facebook is to limit the News and Mini
feeds to activity that happens within facebook.

Dave


On Fri, Jun 13, 2008 at 7:41 AM, Mike Mangino <mmangino at
elevatedrails.com>
wrote:

> 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
>>
>
> --
> Mike Mangino
> http://www.elevatedrails.com
>
>
>
> _______________________________________________
> Facebooker-talk mailing list
> Facebooker-talk at rubyforge.org
> http://rubyforge.org/mailman/listinfo/facebooker-talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://rubyforge.org/pipermail/facebooker-talk/attachments/20080616/97dd36db/attachment.html>