How to make user accounts in SQL from logging in with a FB account?

This is completely different to my last question so don’t lock this please (if anything lock the other thread) although it contains the same subject so I can see why you might think it’s the same but it’s not

Information on this kind of integration is very scarce. I basically want people to be able to make an account on my app using their facebook login. I can get people to log in through their facebook but actually correlating their account to an account in an sql database is something I don’t know how to do

Any help would be very much appreciated.

Prolly the place to start:
https://developers.facebook.com/docs/facebook-login/overview