<div>On Wed, Jan 18, 2012 at 22:29, Jonathan Schuster <span dir="ltr"><<a href="mailto:schuster@ccs.neu.edu">schuster@ccs.neu.edu</a>></span> wrote:</div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm starting to write some Racket bindings for the Facebook API, and I'm trying to get the authentication up and running. They use an OAuth system that, for desktop clients, requires that your app open a browser window to allow the user to login. Once they've done that, your app is supposed to detect a navigation within the browser and extract the access token out of the new URL so that it can be used in all subsequent Facebook API calls.<div>
<br></div><div>Does anyone know if there's some sort of browser module in Racket that would fulfill my needs? Specifically, it should send some sort of signal/event to my program every time it navigates to a new page, and should provide the URL on each navigation. I found the launch-browser project on PLaneT (<a href="http://planet.plt-scheme.org/display.ss?package=launch-browser.plt&owner=oesterholt" target="_blank">http://planet.plt-scheme.org/display.ss?package=launch-browser.plt&owner=oesterholt</a>), but that only takes care of starting a browser, not tracking it. Thoughts?</div>
<span class="HOEnZb"><font color="#888888">
<div></div></font></span></blockquote></div><br></div><div><br></div><div><br></div><div><div>There is a Browser module:<div><a href="http://docs.racket-lang.org/browser/index.html">http://docs.racket-lang.org/browser/index.html</a></div>
</div><div><br></div><div>I just don't know whether it fulfills your needs... maybe.</div><div><br></div><div><br></div><div>[]'s</div><div><br></div><div>Rodolfo Carvalho<br></div></div>