integrating with FB JS API

Siemen Baader <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.squeak.seaside
Message-ID <CAM47Zxr-wXh017_DUT1dLiKw245rxAZJXPnLGSuj5RyJ=aWaxQ@mail.gmail.com>
Hi,

I am puzzled how to integrate the Facebook login JS API [1] with Seaside.
Basically what the API does is to retrieve an access token client-side and
pass it to a JS callback in the browser. When I have the token, I need to
pass it to my backend and check it again with the server. If it is OK, I
set the session to be authenticated and redirect to the logged in
experience.

So - how do I set up a Seaside callback and execute it from JS, with the
token passed along to my callback code?

Any guidance would be most welcome!

Siemen

1: https://developers.facebook.com/docs/facebook-login/web

_______________________________________________
seaside mailing list
[email protected]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.