import vk_api
from vk_api.longpoll import VkLongPoll, VkEventType
token = "токен"
vk = vk_api.VkApi(token=token)
session_api = vk.get_api()
longpoll = VkLongPoll(vk)
for event in longpoll.listen():
if event.type == VkEventType.LIKE_ADD:
print(f'Новый лайк от {event.liker_id}')