I ran into similar issues before and found that setting up the Facebook app properly in Meta for Developers was the key step I had missed. Also, when...