Answer the question
In order to leave comments, you need to log in
How to compare actions in a telegram bot and in VK?
Hey! We are writing a telegram bot on a node that should send the bot user links to various posts on VK and after some user actions (like, comment). How can you implement a check that the bot user has performed some action in VK?
Answer the question
In order to leave comments, you need to log in
Option 1: Store user data, request at the start of the bot, and then on the target action check for a like from this user, a repost on the user's wall.
Option 2: limit the action by time, for example, like 1 post within 10 minutes, and compare the value before the task is issued and after it is completed.
Option 2 is preferable, can be used on test posts to identify the performer and later check with option 1
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question