title: Electron app with Facebook SDK
body: <p>My electron app needs Facebook login. However there are 2 issues I am facing:</p>
  
  <ol>
  <li>Facebook requires an OAuth redirect URI, which does not exist in the context of the desktop app.</li>
  <li><p>Facebook login requires cookies.</p>
  
  <ul>
  <li>For the first issue, in dev mode I serve the html via a dev-server (webpack), so I can kinda cheat by using the <code>localhost:3000</code> as redirect URI. However, I have no idea how I can ship this app in production.</li>
  <li>For the second issue, I tried to install this [electron-cookies module[(<a href="https://www.npmjs.com/package/electron-cookies" rel="nofollow">https://www.npmjs.com/package/electron-cookies</a>), but the issue is not resolved.</li>
  </ul></li>
  </ol>