title: How to GET variables in window.location.hash in node.js
body: <p>If I have a url like </p>
  
  <pre><code>www.example.com/path#one=a1&amp;two=a2&amp;three=a3
  </code></pre>
  
  <p>How do I retrieve the variables directly from the url in node.js?
  Since I am using ExpressJS, I tried using req.query.variable (and req.params.variable), but that wouldn't work...</p>
  
  <p>My actual problem is getting the access token from Facebook, by using the client-side authentication (https://developers.facebook.com/docs/authentication/client-side/), but the url that it redirects to is structured as so:</p>
  
  <pre><code>YOUR_REDIRECT_URI#
   access_token=USER_ACCESS_TOKEN
   &amp;expires_in=NUMBER_OF_SECONDS_UNTIL_TOKEN_EXPIRES
  </code></pre>
  
  <p>And I don't know how to get the parameters from the url...</p>