As what the error said, "add all domains and subdomains of your app to the App Domains field in your app settings."
Just go to Facebook Developer Page -> Setting, make sure you have added Web Platform, change its value with your site's URL.
Also go to Facebook Login product and add your domain/subdomain to OAuth Valid URL field.