The process behind the Firebase/Facebook connection is straightforward and it has two steps:
- You will need to create the UI and the connection behavior of your application in the exact same way for a Firebase free application. This means that you need to download the SDKs, create the connection button, and wire up the behavior underneath it, and also implement the FBSDKLoginButtonDelegate with its two functions.
- Then once those delegate functions are implemented, the Firebase behavior will kick in, exploiting the behavior that was just created and connecting to Facebook, giving us some profile metadata to exploit.