<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Thanks, Sabine. Looks great and eloquently documented!</div><div><br></div><div>I'm still curious about calling a seaside callback from JS - is it possible?</div><div><br></div><div>Siemen </div><div><br>On 12/12/2016, at 17.50, Sabine Manaa <<a href="mailto:manaa.sabine@gmail.com">manaa.sabine@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div>Hi Siemen,</div><div>You can use the code of Sven:</div><div><a href="https://github.com/svenvc/docs/blob/master/zinc/zinc-sso-paper.md" target="_top" rel="nofollow" link="external">https://github.com/svenvc/docs/blob/master/zinc/zinc-sso-paper.md</a></div><div>Regards</div><div>Sabine</div><div><br><div class="gmail_quote"><div>Siemen Baader [via Smalltalk] <<a href="/user/SendEmail.jtp?type=node&node=4926664&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>> schrieb am Mo. 12. Dez. 2016 um 17:44:<br></div><blockquote style="border-left:2px solid #CCCCCC;padding:0 1em" class="gmail_quote"><br><br><br><br>    <div class="gmail_msg"><div class="gmail_msg">Hi,</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">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.</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">So - how do I set up a Seaside callback and execute it from JS, with the token passed along to my callback code?</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Any guidance would be most welcome!</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Siemen</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">1: <a href="https://developers.facebook.com/docs/facebook-login/web" rel="nofollow" link="external" class="gmail_msg" target="_blank">https://developers.facebook.com/docs/facebook-login/web</a></div></div><br><br><br class="gmail_msg">_______________________________________________<br><br><br class="gmail_msg">seaside mailing list<br><br><br class="gmail_msg"><a href="http:///user/SendEmail.jtp?type=node&node=4926661&i=0" rel="nofollow" link="external" class="gmail_msg" target="_blank">[hidden email]</a><br><br><br class="gmail_msg"><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" rel="nofollow" link="external" class="gmail_msg" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br class="gmail_msg"><br><br><br><br>  <br><br>    <br><br>    <br><br>    <br class="gmail_msg"><br><br>      <br class="gmail_msg"><br><br>      <hr noshade="" size="1" color="#cccccc" class="gmail_msg"><br><br>    <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif" class="gmail_msg"><br><br>             <div style="font-weight:bold" class="gmail_msg">If you reply to this email, your message will be added to the discussion below:</div><br><br>               <a href="http://forum.world.st/integrating-with-FB-JS-API-tp4926661.html" class="gmail_msg" target="_blank" rel="nofollow" link="external">http://forum.world.st/integrating-with-FB-JS-API-tp4926661.html</a><br><br>        </div><br><br>        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em" class="gmail_msg"><br><br>           To start a new topic under Seaside General, email <a href="/user/SendEmail.jtp?type=node&node=4926664&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a> <br class="gmail_msg"><br><br>               To unsubscribe from Seaside, <a href="" class="gmail_msg" target="_blank" rel="nofollow" link="external">click here</a>.<br class="gmail_msg"><br><br>                <a href="http://forum.world.st/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" class="gmail_msg" target="_blank" link="external">NAML</a><br><br>        </div></blockquote></div></div>


        
        
        
<br><hr align="left" width="300">
View this message in context: <a href="http://forum.world.st/integrating-with-FB-JS-API-tp4926661p4926664.html">Re: integrating with FB JS API</a><br>
Sent from the <a href="http://forum.world.st/Seaside-General-f86180.html">Seaside General mailing list archive</a> at <a href="http://Nabble.com">Nabble.com</a>.<br></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>seaside mailing list</span><br><span><a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a></span><br><span><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a></span><br></div></blockquote></body></html>