Solution with Angular 8
Console errors and warnings, be gone:
- cannot display FACEBOOK-BLA in hidden frame
- FB.login does not exist ...
- HTTP is not supported, use HTTPS ...
Steps:
- If installed, pause or uninstall Ghostery. Setting Ghostery to
trust localhost
will not work. - Run local app with
ng serve --ssl
- Go to your facebook app console
- Go to Settings -> Basic
- In App Domains only enter
localhost
- In Site URL only enter
https://localhost/
- Do not go the Products-> Facebook Login -> Settings and do not change
Valid OAuth Redirect URIs
tolocalhost
Login and Logout with Facebook should work now without any errors (or warnings masked as errors) in the console.