You can use Facebook Plugin
If you're integrating this for iOS, you'll also need to implement login via Apple.
You can use the Apple Plugin for this.
Both plugins have detailed instructions for installation and use.
Both plugins work on the same methods and signals for convenience.
Both plugins support Godot >= 3.3.3