fixed facebook integration sample