Skip to main content
2 of 2
deleted 13 characters in body; edited tags
Brock Adams
  • 13k
  • 5
  • 39
  • 64

Why API Version 2.2 returns null always while getting questions list?

The below 2 codes returns null always. How to get the list of questions using API Version 2.2?

1. Question thisPost = context.Official .StackApps .Questions.ById(1) .WithComments(true) .First();

2. var context = new ApiContext(apikey).Initialize(false); var site = context.Find("https://stackexchange.com/");

    var skysQuestions = site.Users.ById(1).Questions.ToList();