completely refactored facebook and twitteR