Answer the question
In order to leave comments, you need to log in
Is it possible to simulate a click on the like button in VK using js?
Well, in general, the question says it all.
Thank you all in advance.
Answer the question
In order to leave comments, you need to log in
Of course you can use the =3 click()
method :
document.getElementsByClassName("post_like")[0].click() // к примеру так
GET requests are sent here: vk.com/widget_like.php
act=a_like
al=1
app=your app ID
hash=hash
pageQuery=Here type hash(
s=0
value=1
verb=0
The full request looks like this: vk.com/widget_like.php?act=a_like&al=1&app=your app ID&hash=hash&pageQuery=Here like hash(&s=0&value=1&verb=0
I can help, do :)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question