I faced this error when deploying my local Habitat instance to fresh Sitecore instance running on Sitecore 9 update 1. I was getting this while opening Sitecore login screen.
There are two ways to resolve this issue
1. Create package of Domain, roles related with Facebook from existing running Sitecore instance and install it on target Sitecore instance.
2. Comment "<identityProviders hint="list:AddIdentityProvider">" section from \App_Config\Include\Project\<SitecoreInstanceName>.Website.config file
I hope these steps helps you to fix this issue. Stay tuned for more Sitecore related articles.
Till that happy Sitecoring :)
Please leave your comments or share this fix if it’s useful for you.