Answer the question
In order to leave comments, you need to log in
Is it possible to send "like/unlike" requests without clicking on the frame?
Good day.
Let's assume that the page has a like from VKontakte and a regular element, clicking on which should send a "Like/Unlike" request (Roughly speaking, VK like with its own appearance).
The goal is to like/dislike without clicking on the original like.
Is it possible to make such requests? With or without an API. I dug into the documentation, but did not find the answer.
Answer the question
In order to leave comments, you need to log in
I think you have a mess in your head.
vk.com/dev/likes.add
without VK API - no.
Hang the widget, let it follow the cursor, set z-index and transparency. As a result, we wait for the click, as soon as it is made, the like is put. Without this click
1) I do not know if it is possible to make such requests from sites using the API.
Although you can just buy a full-fledged server, upload a desktop application to it, and let the back-end of the site lying on the server let it pull (launch) this application and it likes the Server
- this is the same desktop from its side
2) It is possible without the VK API.
VK, like any other site, has a back-end. And this is not the VK API, it has its own back-end.
When a user works with VK, the browser sends HTTP requests to this back-end.
And with the help of a sniffer like Fiddler, you can track these requests and then simulate them in any desktop / server programming language (but NOT in JS, because cross-domain requests cannot be made on it - but this is not critical). Simulate client (browser) actions.
Some sites don't have an API at all. This is the only way bots write for them.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question