Esempio n. 1
0
        static void likemenu()
        {
            Console.Clear();
            Console.Write("ImageId: ");
            string ImageId = Console.ReadLine();

            if (InstagramHelper.like(ImageId))
            {
                Helper.success(ImageId + " Liked!");
            }
            else
            {
                Helper.fail(ImageId + "not Liked!");
            }
        }
Esempio n. 2
0
        static void commentmenu()
        {
            Console.Clear();
            Console.Write("ImageId: ");
            string ImageId = Console.ReadLine();

            Console.Write("Message: ");
            string message = Console.ReadLine();

            if (InstagramHelper.comment(ImageId, message))
            {
                Helper.success(ImageId + " Commented!");
            }
            else
            {
                Helper.fail(ImageId + " not commented!");
            }
        }
Esempio n. 3
0
 static void Main(string[] args)
 {
     if (Loader.loadsessionconf())
     {
         if (InstagramHelper.getacc())
         {
             Menu.loadmenu();
         }
         else
         {
             Helper.fail("Validation error!");
         }
     }
     else
     {
         Helper.fail("Error, session did not load successfully!");
     }
     Console.ReadKey();
 }
Esempio n. 4
0
        static void followmenu()
        {
            Console.Clear();
            Console.Write("Username: "******"FAIL" || id[0] != "")
            {
                if (InstagramHelper.follow(id[0]))
                {
                    Helper.success(username + " followed!");
                    return;
                }


                Helper.fail(username + "not followed!");
            }
        }