Z
Z
zenox022021-12-10 18:16:18
C++ / C#
zenox02, 2021-12-10 18:16:18

VkNet.Exception.UnknownMethodException: Unknown method passed. Wall.get doesn't work, what should I do?

using System;
using VkNet;
using VkNet.Model;
using VkNet.Model.RequestParams;


static void Main(string[] args)
        {
      var api = new VkApi();

            api.Authorize(new ApiAuthParams
            {
                AccessToken = ""
            });

            var get = api.Wall.Get(new WallGetParams
            {
                Domain = "",
                Count = 5,
                
            });
            Console.WriteLine(get);

        }


I'm trying to get records from the page, but it shows that there is no such method. Tried also on python, but there is the same dilemma. Even in VK itself, under each method, you can test it, but when I try to test it, it just displays empty brackets
61b36ed7706d3279901155.png

Maybe I made a mistake somewhere and do not see the error?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question