[Facebooker-talk] Restful Authentication

Mike Mangino
Wed, 17 Sep 2008 20:23:56 -0000

You can pass parameters. Take a look at the facebooker_authentication
on github for seeing how to pass parameters using the next parameter.

Mike
On Sep 17, 2008, at 3:54 PM, William Thomas wrote:

> I''m trying method number 2: passing the remember token in the URL.
>
> It looks like install.php and login.php urls eat any params I send
> to them. Does this mean that I have to have a page served on my app
> that does not require installation or authentication to facebook?
>
>
> --- On Wed, 9/17/08, Mike Mangino <mmangino at elevatedrails.com>
wrote:
> From: Mike Mangino <mmangino at elevatedrails.com>
> Subject: Re: [Facebooker-talk] Restful Authentication
> To: wthomas989 at yahoo.com
> Cc: facebooker-talk at rubyforge.org
> Date: Wednesday, September 17, 2008, 12:14 PM
>
> On Sep 17, 2008, at 12:30 PM, William Thomas wrote:
>
> > Has anybody integrated facebooker with a restful authentication app?
> > I''ve read the
>  pragmatic programmer''s book ch 8 about making
> changes
> > to session store, but I would really like to keep my default cookie
> > session store. The goal here is to have a user on my site add
> > facebook to their account, so I need to store the FB uid in my db.
> > Unfortunately the session containing the user''s login is not
used
> > when fb comes back, rightfully so.
> >
>
> Sure, doing this can be relatively easy. There are a couple of
> options. First, you can have the user login to your application from
> inside the Facebook canvas. That way, you''ll have a facebook
session
> and can join that with their user in the DB. You could also include
> the remember token in a URL where you send the user to Facebook. Then,
> you could look up the restful authentication user by this remember
> token and join them to the facebook user.
>
> Mike
>
> > Is there a way to pass a key across to the
>  facebook canvas so when
> > it calls back to my site, I can figure out what user/session it came
> > from?
> >
> >
> >
> > _______________________________________________
> > Facebooker-talk mailing list
> > Facebooker-talk at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/facebooker-talk
>
> --
> Mike Mangino
> http://www.elevatedrails.com