adding facebook and twitter api and fixing a making facebook ready to work