"Please, enter correct Facebook API settings"

I was having the "Please, enter correct Facebook API settings" problem setting up Ultimate Facebook and fixed this by setting
"Do you want to make this app and all its live features available to the general public?" to YES on the facebook DEVELOPERS APPS > STATUS AND REVIEW TAB.

Hope this helps other.