To get Facebook Lead Ads notifications in TheHive 5, you don't need a developer: a ready-made scenario watches events and sends messages for you.
You can launch this Facebook Lead Ads + TheHive 5 integration in Scriptera: describe the task in plain words — the scenario is built, launched and monitored for you.