I''m trying to build a fan page application, but can''t figure out how to authenticate and get a session. If I try the usual "ensure_authenticated_to_facebook" it attempts to redirect to the FB login. Is there a different way to get a session when you''re inside a fan page application? Thanks! -- Ben Sinclair ben at bensinclair.com
If you''re in a Page tab you can''t get a user session, get them over to your app... On May 13, 2009, at 4:05 PM, Ben Sinclair wrote:> I''m trying to build a fan page application, but can''t figure out how > to authenticate and get a session. If I try the usual > "ensure_authenticated_to_facebook" it attempts to redirect to the FB > login. > > Is there a different way to get a session when you''re inside a fan > page application? > > Thanks! > > -- > Ben Sinclair > ben at bensinclair.com > _______________________________________________ > Facebooker-talk mailing list > Facebooker-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/facebooker-talk
Or make them click somewhere to have a js event and an ajax request... -- St?phane Akkaoui Le 14 mai 09 ? 01:55, Michael Jones a ?crit :> If you''re in a Page tab you can''t get a user session, get them over > to your app... > > > On May 13, 2009, at 4:05 PM, Ben Sinclair wrote: > >> I''m trying to build a fan page application, but can''t figure out how >> to authenticate and get a session. If I try the usual >> "ensure_authenticated_to_facebook" it attempts to redirect to the FB >> login. >> >> Is there a different way to get a session when you''re inside a fan >> page application? >> >> Thanks! >> >> -- >> Ben Sinclair >> ben at bensinclair.com >> _______________________________________________ >> Facebooker-talk mailing list >> Facebooker-talk at rubyforge.org >> http://rubyforge.org/mailman/listinfo/facebooker-talk > > _______________________________________________ > Facebooker-talk mailing list > Facebooker-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/facebooker-talk
Thanks, that makes sense! I''ll send them out to a separate application. On Wed, May 13, 2009 at 7:20 PM, St?phane Akkaoui <stephane.akkaoui at imeuble.info> wrote:> Or make them click somewhere to have a js event and an ajax request... > > -- St?phane Akkaoui > > Le 14 mai 09 ? 01:55, Michael Jones a ?crit : > >> If you''re in a Page tab you can''t get a user session, get them over to >> your app... >> >> >> On May 13, 2009, at 4:05 PM, Ben Sinclair wrote: >> >>> I''m trying to build a fan page application, but can''t figure out how >>> to authenticate and get a session. If I try the usual >>> "ensure_authenticated_to_facebook" it attempts to redirect to the FB >>> login. >>> >>> Is there a different way to get a session when you''re inside a fan >>> page application? >>> >>> Thanks! >>> >>> -- >>> Ben Sinclair >>> ben at bensinclair.com >>> _______________________________________________ >>> Facebooker-talk mailing list >>> Facebooker-talk at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/facebooker-talk >> >> _______________________________________________ >> Facebooker-talk mailing list >> Facebooker-talk at rubyforge.org >> http://rubyforge.org/mailman/listinfo/facebooker-talk > >-- Ben Sinclair ben at bensinclair.com