Facebook checks if You have https url, it does not matter how safe your certificate is. I have used the cheapest available. Around 15$ few years back.
You can even generate certificate yourself, only it will throw "untrusted certificate" in user's browser and that is not pretty, but it works well for your private test version.