Re: integrating with FB JS API
Siemen Baader <[email protected]>
| Newsgroups | gmane.comp.lang.smalltalk.squeak.seaside |
|---|---|
| Message-ID | <[email protected]> |
Thanks, Paul. I will look! Siemen Sent from my iPhone On 12/12/2016, at 19.08, Paul DeBruicker <[email protected]> wrote: > Take a look at the examples in this repo. One of them sets up and triggers a > seaside callback from JS > > > http://smalltalkhub.com/#!/~JohanBrichau/SeasideGoogleMapsV3 > > > Its also a good example of how you cold use Seaside's JS creation methods. > > > > > > > Siemen Baader wrote >> Thanks, Sabine. Looks great and eloquently documented! >> >> I'm still curious about calling a seaside callback from JS - is it >> possible? >> >> Siemen >> >> On 12/12/2016, at 17.50, Sabine Manaa < > >> manaa.sabine@ > >> > wrote: >> >>> Hi Siemen, >>> You can use the code of Sven: >>> https://github.com/svenvc/docs/blob/master/zinc/zinc-sso-paper.md >>> Regards >>> Sabine >>> >>> Siemen Baader [via Smalltalk] <[hidden email]> schrieb am Mo. 12. Dez. >>> 2016 um 17:44: >>>> >>>> >>>> >>>> >>>> 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 >>>> >>>> >>>> [hidden email] >>>> >>>> >>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> If you reply to this email, your message will be added to the discussion >>>> below: >>>> >>>> >>>> http://forum.world.st/integrating-with-FB-JS-API-tp4926661.html >>>> >>>> >>>> >>>> >>>> >>>> To start a new topic under Seaside General, email [hidden email] >>>> >>>> >>>> To unsubscribe from Seaside, click here. >>>> >>>> >>>> NAML >>> >>> View this message in context: Re: integrating with FB JS API >>> Sent from the Seaside General mailing list archive at Nabble.com. >>> _______________________________________________ >>> seaside mailing list > >> [email protected] > >>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside >> >> _______________________________________________ >> seaside mailing list > >> [email protected] > >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > > > -- > View this message in context: http://forum.world.st/integrating-with-FB-JS-API-tp4926661p4926686.html > Sent from the Seaside General mailing list archive at Nabble.com. > _______________________________________________ > seaside mailing list > [email protected] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside _______________________________________________ seaside mailing list [email protected] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside