refactoring - still missing config for facebook