composer.json
remove the dependency from this file
redeploy
remove the database attributes made for Facebook
https://github.com/facebookincubator/facebook-for-magento2/issues/45
select * from eav_attribute where attribute_code like 'facebook_%' or attribute_code = 'google_product_category'