A
A
Anton Korchahin2016-02-24 15:53:54
PHP
Anton Korchahin, 2016-02-24 15:53:54

Vk.com api likes.isLiked is it possible for a site to check that a user "liked" a certain object?

Hello World!
Spent a lot of time on this seemingly simple task.
The method page says:

This method is available only to Standalone applications.

I tried to make requests using both OAuth and Open API authorization, requesting wall permissions , but I constantly come across errors 7 , 15 or 17
Question for the experts:
Can someone drop a snippet, or a link to an example of how this can be implemented in php or js ?
At first glance, it seems that it should not work for sites, but there are many sites on the network of all kinds of "cheat" likes, etc., which obviously should work according to this principle.
Thank you in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yuri, 2016-02-24
@riky

in order for the site to have access to them, it must be registered exactly as Standalone.
tokens will need to be received through oauth blank.
in order to check it is not necessary to have such a token from the user, you can check it with your own.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question