title: Firebase 3 - javascript - get facebook accessToken after login
body: <p>In Firebase 2 I was able to get facebook <code>accessToken</code> from anywhere after login by <a href="https://www.firebase.com/docs/web/guide/login/facebook.html#section-logging-in" rel="nofollow">this</a> way, just using the <a href="https://www.firebase.com/docs/web/guide/understanding-data.html#section-creating-references" rel="nofollow">firebase reference</a>, eg:</p>
  
  <pre><code>firebase.getAuth().facebook.accessToken
  </code></pre>
  
  <p>Now, how can I get that in version 3 (web)? </p>
  
  <p><strong>Note, I need it outside of the Promise</strong> <code>signInWithPopup</code></p>
  
  <p>Thanks</p>