Help Facebook

Hello everyone. I’m facing a big challenge and despite watching several videos, I still can’t manage it… How do you connect to a Facebook API? I saw that you need to go to the Facebook Developer portal, but after that, what kind of application do I need to create? Thank you very much.