static void LikeTest() { var username = Credential.GetYourUsername(); var password = Credential.GetYourPassword(); var user = new InstagramClient(username, password); var loginResult = user.LogIn(); if (loginResult.authenticated) { var likeResult = user.Like("1291753606881517996"); Console.WriteLine(likeResult.status); } Console.ReadLine(); }