E
E
efimenko_b2015-07-11 22:00:58
JavaScript
efimenko_b, 2015-07-11 22:00:58

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

5 answer(s)
M
MK, 2015-07-11
@Maxsior

Of course you can use the =3 click()
method :

document.getElementsByClassName("post_like")[0].click() // к примеру так

S
SagePtr, 2015-07-12
@SagePtr

Clickjacking, unless, to do

G
Gluck Virtualen, 2015-07-12
@gluck59

Lying is not good.

B
Baha Rustamov, 2015-07-15
@by133312

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 question

Ask a Question

731 491 924 answers to any question