static void Main(string[] args) { // Main logic: Login && GetHomePage var client = new FacebookClient(); if (client.Login("userMail", "userPassword")) { client.GetHomePage(); } }