facebook and refactory