public static void Main(String[] args)
    {

      AccountFeedExample example;

      try
      {
        example = new AccountFeedExample();
      }
      catch (AuthenticationException e)
      {
        Console.Error.WriteLine("Authentication failed : " + e.Message);
        return;
      }
      catch (Exception e)
      {
        Console.Error.WriteLine("Authentication Failed : " + e.Message);
        return;
      }


      example.printFeedDetails();
      example.printAdvancedSegments();
      example.printCustomVarForOneEntry();
      example.printGoalsForOneEntry();
      example.printAccountEntries();
    }