Especially often this can be seen when leaving comments. You fumble through the article for an article about a thread, and there below is your ava from VK. I need something like that. In general, the idea is this - I give the dude a link to his script. He is on it, and the script in the logs writes the id of VKontakte or maybe the name of the one who has passed through it. How to do this in PHP and how much it is real. My level of coding in PHP is a beginner. Tell me which way to dig.

  • Need to somehow screw in the script VKontakte API? And can I ask the browser for cookies from VK? - hooko

3 answers 3

Authorization in VKontakte can occur only from the VKontakte page. And the definition is possible through various oauth requests. See vk api.

    Look towards the VK widgets . Is that what you mean?

      And can I ask the browser for cookies from VK?

      of course not

      The idea is a failure, of course, if there are no vulnerabilities in the VC itself, in terms of xss.