Answer the question
In order to leave comments, you need to log in
How to transfer comments from a topic in a vk group to a website?
Hello.
There is a group in contact with a large number of comments in the topic (topic).
I would like to transfer comments to the created site using the comments widget.
According to the documentation, I realized that the pageUrl parameter is responsible for this, but how do I find out what pageUrl the topic has? No matter how I looked, I couldn't find the right one.
Answer the question
In order to leave comments, you need to log in
What you intended to do will not work. The comments widget is the comments that will be linked to your site (or rather, to the application). Roughly speaking, the comment widget is a kind of "virtual" wall on your site. Use the board.getComments
API method to display all comments from a discussion on your site . After you authorize the user through his VKontakte account, he will be able to leave comments directly from your site using the board.addComment method in the discussion that is displayed on your site. These messages will be duplicated in the discussion in the VK group.
If you check the user authorization trick, then before sending a comment, be sure to warn him that his comment will appear in such and such a discussion.
Good afternoon! Were you able to solve? If yes, please describe the solution
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question