Firebase. Facebook sign-in method

Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
const facebookProvider = new firebase.auth.FacebookAuthProvider();
...
facebookProvider.addScope('email');
facebookProvider.addScope('user_birthday');
facebookProvider.addScope('user_friends');
...
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post

Let’s test it out (gif)…

Image for post
Image for post
Image for post
Image for post

Java, Spring, Node.js, AdonisJs, React.js and Flutter developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store