D
D
Dmitry2021-11-01 14:53:56
In contact with
Dmitry, 2021-11-01 14:53:56

How to connect comments from VK group discussions to the site?

Good day.
Please tell me if anyone knows. I'm reading the documentation and I can't find the right section.
The task is as follows: "Render on the site blocks with comments taken from the VK group, from various discussions" (without using the widget)
You need to get the name of the commentator, the commentator's id, the date of the comment, and the comment itself.
and whether it is necessary to connect the Callback API for this or only api.vk.com/method is enough

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nadim Zakirov, 2021-11-01
@zkrvndm

I don’t understand the VKontakte API, I won’t help with this, but do you know how I would solve the problem myself? Simply with the help of cURL, I would directly pull the html code of the comments, and then display it on my site in the form in which I need it. To extract comments from html code, I would use PHPQuery or any other similar library.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question